Skip to content

Jannes123/inasafe-django

 
 

Repository files navigation

Welcome to the InaSAFE Web code base!

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.

Status

These badges reflect the current status of our development branch:

Tests status: Build Status

Coverage status: Coverage Status

Development status: Stories in Ready Stories in Ready

License

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.

Setup instructions

Production, Staging

We provide for simple deployment under docker. Please see the deployment/README-docker.md file for details.

For local development

Install dependencies

virtualenv venv
source venv/bin/activate
pip install -r REQUIREMENTS-dev.txt

Create your dev profile

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.

Running migrate, collect static, and development server

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}

About

Django project for InaSAFE related services

Resources

License

Unknown, ODbL-1.0 licenses found

Licenses found

Unknown
LICENSE-CODE.txt
ODbL-1.0
LICENSE-DATA.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 45.2%
  • Python 35.1%
  • HTML 14.5%
  • Makefile 2.9%
  • CSS 2.0%
  • Shell 0.3%