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. Application Electron permettant de lancer l’outil PIA sur son ordinateur.
The PIA software is a free tool published by the CNIL which aims to help data controllers build and demonstrate compliance to the GDPR. Electron application to launch the PIA tool on your computer.
To clone and run this repository you'll need Git, Node.js and yarn installed on your computer.
First you need to build the angular application and copy the dist
directory to the root of the PIA Electron Application.
From your command line:
yarn global add electron
# Clone this repository
git clone https://github.com/LINCnil/pia-app
# Go into the repository
cd pia-app
# Install dependencies (You can use YARN instead of npm install)
yarn install
# Run the app
yarn start
Install electron-builder:
yarn global add electron-builder
Build with the command:
For MacOs users: yarn run mac
For GNU/Linux users: yarn run linux
For Windows users: yarn run win
Note: If you're using Linux Bash for Windows, see this guide or use node
from the command prompt.
If you need to build for windows from another system you can use docker:
docker run --rm -ti \
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
--env ELECTRON_CACHE="/root/.cache/electron" \
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
-v ${PWD}:/project \
-v ${PWD##*/}-node-modules:/project/node_modules \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine
- electron.atom.io/docs - all of Electron's documentation
- electron.atom.io/community/#boilerplates - sample starter apps created by the community
- electron/electron-quick-start - a very basic starter Electron app
- electron/simple-samples - small applications with ideas for taking them further
- electron/electron-api-demos - an Electron app that teaches you how to use Electron
- hokein/electron-sample-apps - small demo apps for the various Electron APIs