Flask web application for serving the Drocer web application.
(clone repo)
cd (local repo directory)
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
- Download source PDFs from Cleveland City Council and place in
data/pdf. - Enter tools directory, run the extractor:
python extractor.py. This writes JSON files todata/json. - Enter tools directory, run the indexer:
python indexer.py. This creates a Whoosh index indata/index/city-record. - Enter tools directory, run the image extractor script:
./convert-pdf-to-png.sh. This creates a PNG file for each page in the source PDFs.
- Development environment server:
python run.py. - Production server configuration is defined in drocer.wsgi
This site is viewable at http://cityrecord.openfordata.com/browse