The Nepal instance of Wazimap, a Django application for exploring census and other similar data.
- clone the repo
cd nepalmap
mkvirtualenv nepalmap
pip install -r requirements.txt
You will need a Postgres database:
psql -U postgres
create user wazimap_np with password 'wazimap_np';
create database wazimap_np;
grant all privileges on database wazimap_np to wazimap_np;
Run migrations to keep Django happy:
python manage.py migrate
Import the data into the new database (will overwrite some tables created by Django, but that's ok).
cat sql/*.sql | psql -U wazimap_np -W wazimap_np
Start the server:
python manage.py runserver