La Fabrique de la Loi / The Law Factory
Web frontend developed for The Law Factory project: http://www.LaFabriqueDeLaLoi.fr
Data backend API code is available on repository https://github.com/RegardsCitoyens/the-law-factory-parser
Installation
-
Checkout the project from git:
git clone https://github.com/regardscitoyens/the-law-factory.git cd the-law-factory
-
Configure the aplication by copying
js/config.json.example
aspublic/js/config.js
and set the API Url to the path on which you serve the data directory of RegardsCitoyens:the-law-factory-parser.git. Optionnally set also there your google analytics id and host.cp public/js/config.json{.example,} vi public/js/config.json
-
Serve the
public
directory on a webserver
- for instance, to run locally on http://localhost:8001
cd public
python -m SimpleHTTPServer 8001
- for production, a sample Apache configuration is given in the
conf
directory