Prod app: https://statina.clinicalgenomics.se/ Staging app: https://statina-stage.clinicalgenomics.se/
This app is built with Vite.
Before running the app you need:
Once cloned, install dependencies:
VITE_BACKEND_URLURL of the API endpoints for Statina.
Example: VITE_BACKEND_URL="http://localhost:12345" yarn dev
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Launches the test runner in watch mode.
Displays linting issues.
Fixes lint errors.
Displays stylelint issues.
Fixes stylelint errors.
Builds the app for production to the dist folder. The build is minified and the filenames include hashes.
- Pull requests: GitHub Actions deploys a Firebase Hosting preview channel (not the staging URL).
- Staging: Deploys to the live channel for
statina-stageonly on merge/push tomaster. - Production: Deploys to the live channel for
statina-83aa9only on merge/push tomaster.
To find the PR preview URL, open the PR's GitHub Actions run and check the "Deploy to Firebase Hosting on PR" job logs.