Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.
/ pia-app Public archive

Exécutable permettant de lancer l’application (front office) PIA sur son ordinateur. C’est une version portable de l’outil PIA. | Executable to launch the PIA application on your computer. It is a stand-alone version of the PIA application.

License

Notifications You must be signed in to change notification settings

LINCnil/pia-app

Repository files navigation

DEPRECATED

This repository is no more used. All the tools to compile an Electron application for the PIA tool are now directly integrated inside the project.

See: https://github.com/LINCnil/pia/tree/master/electron

Le logiciel PIA / The PIA Software

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.

Installation

To clone and run this repository you'll need Git and Node.js (which comes with npm) 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:

npm install -g 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)
npm install
# Run the app
npm start

For distribution

Install electron-builder:

npm install -g electron-builder

Build with the command:

For MacOs users: npm run mac

For GNU/Linux users: npm run linux

For Windows users: npm 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

Resources for Learning Electron

About

Exécutable permettant de lancer l’application (front office) PIA sur son ordinateur. C’est une version portable de l’outil PIA. | Executable to launch the PIA application on your computer. It is a stand-alone version of the PIA application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published