InaSAFE is a contingency planning and preparedness tool for disasters. This django project provides various resources related to the InaSAFE project in particular:
- A user map
- more to come
Please note that this project is in the early phase of its development.
You can visit a running instance of this project at users.inasafe.org.
These badges reflect the current status of our development branch:
Data: Open Database License Code: Free BSD License
Out intention is to foster wide spread usage of the data and the code that we provide. Please use this code and data in the interests of humanity and not for nefarious purposes.
We provide for simple deployment under docker. Please see the deployment/README-docker.md file for details.
virtualenv venv
source venv/bin/activate
pip install -r REQUIREMENTS-dev.txt
cd django_project/core/settings
cp dev_timlinux.py dev_${USER}.py
Now edit dev_ setting your database connection details as needed. We assume you have created a postgres (with postgis extentions) database somewhere that you can use for your development work. See http://postgis.net/install/ for details on doing that.
Prepare your database and static resources by doing this:
virtualenv venv
source venv/bin/activate
cd django_project
python manage.py migrate --settings=core.settings.dev_${USER}
python manage.py collectstatic --noinput --settings=core.settings.dev_${USER}
python manage.py runserver --settings=core.settings.dev_${USER}