URL: https://mine.data-dev.oslo.systems/
npm install
npm run serve
npm run build
npm run test:unit
npm run lint
Instead of simply using .env
files, our environment variables can be set runtime without having to build a new image.
Environment variables are accessed like so:
import env from '@utils/env';
console.log(env.VUE_APP_BASE_URL)
This import looks for variables in index.html
(set when running in docker).
If it cannot find any, it will fetch variables from process.env
.
Local environment variables are defined in the .env
file.
Runtime environment is achieved by entrypoint.sh
, which edits index.html
when the docker container starts.
Set variables like so: docker run -e VUE_APP_BASE_URL=datasets.no -e OTHER_VARIABLE=42
This application is deployed automatically to dev whenever a new version is pushed to GHCR
Core functionality like isAuthenticated
and other Voodo magic.
See the developer guide.
See the vulnerability overview.
See the analytics overview.