Skip to content

ysakthi/drocer-webapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drocer Web Application

Flask web application for serving the Drocer web application.

Installation

(clone repo)
cd (local repo directory)
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Extraction and indexing.

  • 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 to data/json.
  • Enter tools directory, run the indexer: python indexer.py. This creates a Whoosh index in data/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.

Running the web server

  • Development environment server: python run.py.
  • Production server configuration is defined in drocer.wsgi

Baked-in Dependencies

This site is viewable at http://cityrecord.openfordata.com/browse

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.3%
  • CSS 32.5%
  • Python 2.0%
  • HTML 1.2%