/gov-review

Israeli government review for the State Comptroller.

Primary LanguagePython

DEPRECATED

Please see the continuation of this project in Open-Audit.

Israeli Government Review

Requirements

This project uses Flask as a web-framework. MongoDB is the DB backend, with PyMongo as its driver, and mongoengine as its ORM. Also, it uses Compass and Sass for CSS. Oh, and Twitter Bootstrap, with AbduallahDiaa's RTL version of it.

We also use several other utility libraries. Check the requirements.txt file for more info.

Set-up

  • git clone, virtualenv, install Homebrew or use apt-get, and do whatever else is necessary to set-up a generic Python project.
  • brew install python ruby mongodb - On Ubuntu use apt-get instead of brew.
  • pip install -r ./requirements.txt for Python packages.
  • gem update --system && gem install compass - To install Compass and Sass.

Test Run

  1. cd src/server
  2. ./generate_initial_data.sh - Populates DB with Hebrew lorem-ipsum data
  3. Execute both of these simultaneously:
  • ./run_mongo.sh - Runs in foreground.
  • ./run_server.py - Flask app.

Helpful Utilities

  • src/server/run_tests.sh