Coding space for the LegisLetters project.
Docker preferred.
./build.sh
./run.sh
./exec.sh
You will then be able to run all relevant scripts
Inside the docker container, this will add documents to the Elasticsearch database:
python legisletters/scraper.py
This will try to parse them into separate fields:
python legisletters/parser.py
You'll need npm
, bower
, and grunt
to build.
npm install -g grunt-cli bower
npm install
bower install
grunt
This will place updated HTML & JS in the dist
folder, which is served by the
container nginx
.
Please make sure all files pass pylint
and pyflakes
.