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 useapt-get
, and do whatever else is necessary to set-up a generic Python project.brew install python ruby mongodb
- On Ubuntu useapt-get
instead ofbrew
.pip install -r ./requirements.txt
for Python packages.gem update --system && gem install compass
- To install Compass and Sass.
Test Run
cd src/server
./generate_initial_data.sh
- Populates DB with Hebrew lorem-ipsum data- Execute both of these simultaneously:
./run_mongo.sh
- Runs in foreground../run_server.py
- Flask app.
Helpful Utilities
src/server/run_tests.sh