The Uganda instance of Wazimap, a Django application for exploring census and other similar data.
- clone the repo
cd wazimap_ug
virtualenv --no-site-packages env
pip install -r requirements.txt
Set the WAZI_PROFILE
environment variable to the instance you are working on, e.g.
export WAZI_PROFILE=ecd
You will need a Postgres database:
psql
create database wazimap_ug;
Import the data into the new database:
psql -U postgres < wazimap.psql
Run migrations, and start the server:
python manage.py migrate
python manage.py runserver
See the Wazimap deployment docs for all basic Wazimap configuration.
Set the profile
dokku config:set wazimap_ug WAZI_PROFILE=<profile name>
Add dokku as a remote, and then deploy:
git push dokku
MIT License