- clone this repo
- install dependencies:
pip install -r requirements.txt
- create a postgresql user with password
municipal_finance
:createuser municipal_finance -W
- create a database:
createdb municipal_finance -O municipal_finance
- install data from somewhere :)
- run it:
python manage.py runserver
dokku config:set municipal-finance DJANGO_DEBUG=False \
DISABLE_COLLECTSTATIC=1 \
DJANGO_SECRET_KEY=... \
NEW_RELIC_APP_NAME=municipal_finance \
NEW_RELIC_LICENSE_KEY=... \
DATABASE_URL=postgres://municipal_finance:...@postgresq....amazonaws.com/municipal_finance
- Remember to run VACUUM ANALYSE afterwards to ensure stats are up to date to use indices properly.
MIT License