Tentang
Antarmuka web untuk aplikasi PIA, yang dapat diterapkan di server agar bisa diakses melalui browser web.
Produktivitas dan otomatisasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +2
- dalam 15 hari
- +3
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliPIA Software
Introduction
The PIA software is a free tool published by the CNIL which aims to help data controllers build and demonstrate compliance to the GDPR.
The latest version of the tool can be downloaded in the Release section of this repository.
Translating the PIA Software
To translate the software, we invite you to make your changes here where the translation steps are described.
Development information
CI runs the application unit tests and Cypress tests on pushes and pull requests.
This project was generated with Angular CLI.
Package Version
See the package.json file
Prerequisites
Angular 22 requires Node.js ^22.22.3, ^24.15.0, or ^26.0.0.
Development server
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.
Code scaffolding
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.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Running unit tests
Run yarn test to execute the application unit tests via Karma. For a single headless run, use yarn test --watch=false --browsers=ChromeHeadless.
Running ng test without a project also targets the optional pia-i18n library, whose sources are not included in this repository. If available locally, test it separately with yarn ng test pia-i18n.
Running end-to-end tests
Start the application with yarn start, then run yarn cypress run --headless --browser chrome to execute the Cypress end-to-end tests. Use yarn e2e to open the interactive runner.
The server-configuration tests use mocked responses by default. To additionally test a real PIA backend, set CYPRESS_URL, CYPRESS_ID, and CYPRESS_SECRET in the environment before running Cypress.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Package the application for Mac, Windows or GNU/Linux
Mac:
You must set the ENV variables APPLE_ID, APPLE_APP_SPECIFIC_PASSWORD and APPLE_TEAM_ID inside a .env file at the root of the project.
yarn electron:mac
Windows:
CSC_LINK=../path_to_your/file.pfx CSC_KEY_PASSWORD="Your PFX file password" yarn electron:win
GNU/Linux:
Build AppImage, .tar.gz, and Snap packages on a native Linux machine. Run
yarn prod first, then choose the command matching the machine:
yarn electron:linux:x64 # on x86-64
yarn electron:linux:arm64 # on ARM64
Both builds require Snapcraft 8.x. The ARM64 build uses a core24 Snap and
requires Ubuntu 24.04 ARM64 and an initialized LXD installation that your user
can access. The x86-64 build uses core22.
The Snap Store name pia was unavailable, so Snap is built separately as
privacy-impact-assessment; AppImage and archives retain the pia executable.
To build only the .tar.gz archives for both architectures, without Snap:
yarn electron:linux:archives
Each archive contains fr.cnil.PIA.desktop, fr.cnil.PIA.metainfo.xml,
icon.png, and LICENSE at the root of its application directory. Linux
packages for other targets also include these files. The release workflow
checks their contents against the source files for both architectures.
To build only the x86-64 Snap, run yarn electron:snap on x86-64.
Publish the application to Github
See: https://www.electron.build/configuration/publish
GH_TOKEN=YOUR_GITHUB_TOKEN yarn electron:publish-to-github
PIA export & import .json format
If you need any guidance about the PIA .json file and its structure, check the dedicated documentation here
Jelajahi proyek terkait
Memuat…