This project was generated with Angular CLI version 16.0.0.
First, make sure to have npm and pnpm installed on your machine.
Then install required node_modules by running:
pnpm installThen, create the file proxy.conf.json in the src directory, and paste the following code:
{
"/armonik.api.grpc.v1": {
"target": "http://armonik_url:armonik_port",
"secure": false
},
"/static": {
"target": "http://armonik_url:armonik_port",
"secure": false
}
}And replace armonik_url and armonik_port with your armonik url and port.
You can now run the following command to start a development version of the app:
pnpm startThe application will be available on http://localhost:4200/. The application will automatically reload if you change any of the source files.
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 ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run pnpm test or npx jest to execute the unit tests via Karma.
If you want to see the coverage, you can run pnpm test-coverage
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.