Skip to content
forked from LINCnil/pia-app

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

kosmas58/pia-app

 
 

Repository files navigation

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, 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

For distribution

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

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.7%
  • TypeScript 40.3%
  • HTML 3.0%