Le logiciel PIA est un outil distribué librement par la CNIL afin de faciliter la réalisation d’analyses d’impact sur la protection des données prévues par le RGPD.
Version web front office de l’application PIA à déployer sur un serveur afin d’en donner l’accès via un navigateur web. Ce projet est généré avec Angular CLI.
The PIA software is a free tool published by the CNIL which aims to help data controllers build and demonstrate compliance to the GDPR. Front office of the PIA application to be deployed on a server in order to access it through a web browser. This project was generated with Angular CLI.
Run ng serve for a dev server. 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|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
First you need to rename the file src/environments/environment.prod.ts.example to src/environments/environment.prod.ts.
Then set the version number inside this file.
And use the command ng build --prod --build-optimizer or yarn prod for a production build.
If you have memory issue while building try this command: node --max-old-space-size=1024 node_modules/@angular/cli/bin/ng build --prod
Run ng test to execute the unit tests via Karma.
Run yarn e2e to execute the end-to-end tests via Cypress.
Before running the tests make sure you are serving the app via ng serve.
Run ng build --prod --build-optimizer or yarn prod
Put dist/ directory which is generated by ng build into your www/ directory (like /var/www/html for default in Apache)
If you have memory issue while building try this command: node --max-old-space-size=1024 node_modules/@angular/cli/bin/ng build --prod
Run npm run compodoc or yarn run compodoc to generate the documentation in your documentation directory
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.