This project was generated with Angular CLI version 12.1.3.
This projects needs the following tools installed.
- Node.js
- npm
- Docker
Please perform a npm install
on the project in order to download the project dependencies of the project.
Run npm run start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run npm run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run docker:build
to make a production build and package this app into a docker image, this will also run all tests and will only suceed if the tests are ok.
Run npm run docker:run
to start this app as a docker container after building it. Navigate to http://localhost:4201/
.
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Cypress.
Use npm run test:ci
as also npm run e2e:ci
to run automateable tests on ci systems. Usage can also be seen in Dockerfile.
The app is being configured by filling the template file assets/config.templ.json
in order to generate the configuration file assets/config.json
.
During runtime the configuration can be accessed by using the ConfigService
.
To get more help on the Angular CLI use npm run ng help
or go check out the Angular CLI Overview and Command Reference page.