- Copy the provided samples and adjust the secrets:
cp .env.example .env cp frontend/.env.example frontend/.env
- Update the new
.envfiles with the values for your deployment. The backend reads database and Keycloak credentials from.env, while the Angular frontend consumes theNG_APP_*variables. - When using Docker Compose, the
.envfile is loaded automatically. For local development outside Docker, export the variables manually or run your IDE/terminal in a session where.envhas been sourced.
The backend/test-affirmation.sh script now relies on the same environment variables, so it no longer embeds the Keycloak client secret.