Reglementation en Foret. Application web Angular.
- Angular CLI version 19.2.4
- Ngx DSFR version 1.11.9
npm installnpm startRun 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.
!!! Non adapter pour le développement de foreg-site
Téléchargement de l'image docker via le repository de github.
docker pull ghcr.io/ignf/foreg-site:{{ VERSION-TAG || 'vX.X.X'}}Lancement de foreg-site via docker run :
docker run -p 8080:8080 ghcr.io/ignf/foreg-site:{{ VERSION-TAG || 'vX.X.X'}}Le site est accesible via l'adresse : http://localhost:8080
Scritp du docker-compose à adapter selon le besoin Local Build
services:
foreg-site:
build:
context: .
dockerfile: .docker/Dockerfile
target: prod # Utilise l'étape "dev" pour le développement
ports:
- "8089:8080" # Expose le port nginx
Cloud Build
services:
foreg-site:
image: ghcr.io/ignf/foreg-site:{{ VERSION-TAG || 'vX.X.X'}}
ports:
- "8089:8080" # Expose le port nginxdocker compose builddocker compose upForcage du build avant de lancer l'application
docker compose up --builddocker compose down