This project was generated with Angular CLI version 12.0.3.
There are several issues with npm dependencies for nodes' versions superior to 14. You can use Node version indicated in the file .nvmrc and command npm install
or use a more recent version of Node and the following command to avoid dependency issues :
npm install --legacy-peer-deps
The file is located in src/assets/config.js
. The file config.js.dist
is an example of the syntax to use.
- The back url, if launched with docker compose from the mydockerback repository is http://localhost:8080/ (Be carreful, the last / is important !). Note that it uses http protocol (and not https).
- The front url is basically the url you use to access the application http://localhost:4200. Port 4200 is the default port for Angular application (when you launch
ng serve
) - CAS login and logout url can point to
cas
container launched with docker compose from the mydockerback repository that listens on port 9443. It is therefore http://localhost:9443/cas/login and http://localhost:9443/cas/login. Be careful, the same CAS url must be specified in front config and in back config.
To have a functional development server, you first need to run the backend and the GoAPI. Check these repositories before launching your dev server.
For a dev server, run :
npm run start
Navigate to http://localhost:4200/
. The app 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 ng test
to execute the unit tests via Karma.
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.