This project was generated with Angular CLI.
Clone this repo into a local folder. Navigate to the src
folder in a command line and install packages using yarn
. Then, you are ready to develop!
Run yarn start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Some basic Cypress tests automatically run every Wednesday at 8a.m. via a scheduled GitHub action (and on each push to main). The result is posted to the ESN Germany Slack Workspace (#website_monitoring). You can at all times run the tests locally using yarn cy:run
.
Run ng build
to build the project. You need to set the environment variables REPLACE_STRAPI_USER_ID
in src/environment.(prod.)ts
.
The build artifacts will be stored in the dist/
directory. Use the --configuration production
flag for a production build.
- Merge the new version into the main branch of this repository.
- Connect to the server of ESN Germany.
- Start the script to build the new version for all websites. The timestamp is updated automatically.
Everything else will happen automatically within few minutes.
// On ESN Germany server