Frontend of the worship decisions application
The static-file-service docker image (which we use to host the frontend) supports configuring environment variables. The following options are available.
| Name | Description |
|---|---|
EMBER_ACMIDM_CLIENT_ID |
The unique client id for a specific environment |
EMBER_ACMIDM_BASE_URL |
The URL where users will be redirected to when they want to log in |
EMBER_ACMIDM_REDIRECT_URL |
The callback URL that ACM/IDM will use after the user logs in successfully |
EMBER_ACMIDM_LOGOUT_URL |
The URL where users will be redirected to when they want to log out |
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Google Chrome
git clone <repository-url>this repositorycd frontend-worship-decisionsnpm install
npm run start- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
To proxy to a specific environment, add a .env.local file with a PROXY environment variable. After that, npm start should proxy to the correct url.
#.env.local
# DEV
PROXY=https://dev.databankerediensten.lokaalbestuur.lblod.info/
# QA
PROXY=https://databankerediensten.lokaalbestuur.lblod.info/
Make use of the many generators for code, try npm exec ember help generate for more details
npm run test
npm run lintnpm run lint:fix
npm exec vite build --mode development(development)npm run build(production)
Specify what it takes to deploy your app.