Git Product home page Git Product logo

alexkhimich / pia-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lincnil/pia-app

0.0 1.0 0.0 397 KB

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: GNU General Public License v3.0

JavaScript 97.47% HTML 2.53%

pia-app's Introduction

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

pia-app's People

Contributors

brunto avatar dependabot[bot] avatar labocnil avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.