LINCnil / pia-back

Programme développé avec le framework RubyOnRails mettant à disposition une API RESTful à destination des outils PIA et PIA-APP. | Program developped with RubyOnRails providing a RESTful API for the PIA and PIA-APP applications.
GNU General Public License v3.0
156 stars 65 forks source link

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. PIA-BACK est développé avec le framework RubyOnRails mettant à disposition une API RESTful à destination des outils PIA et PIA-APP.

The PIA software is a free tool published by the CNIL which aims to help data controllers build and demonstrate compliance to the GDPR. PIA-BACK is developped with RubyOnRails providing a RESTful API for the PIA and PIA-APP applications.

Rails tests CodeQL CodeFactor Rails Style Guide Rails Style Guide

Wiki for a production environment

You can follow the wiki for a full production installation of the pia (frontend) and pia-back (backend) applications on an Ubuntu server.

Requirements

System requirements

Ruby installation

See the Install Ruby page in the Wiki.

PostgreSQL installation

See the Install PostgreSQL page in the Wiki.

Run the application in a development environment

PIA Settings

How to update to the latest version in a development environment

Go to the folder pia-back : cd pia-back

Update the repository : git pull

Update the dependencies : bundle install

Update the database : bin/rake db:migrate