Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.12 KB

README.rst

File metadata and controls

46 lines (28 loc) · 1.12 KB

SMS-Lapli

Haiti Code for Resilience SMS Rainfall Data Collection Project based on RapidSMS

Below you will find basic setup instructions for the smslapli project. To begin you should have the following applications installed on your local development system:

Getting Started

To setup your local environment you should create a virtualenv and install the necessary requirements:

virtualenv smslapli-env

On Posix systems you can activate your environment like this:

source smslapli-env/bin/activate

On Windows, you'd use:

smslapli-env\Scripts\activate

Then:

cd smslapli
pip install -U -r requirements/base.txt

Run migrate:

python manage.py migrate

Load Base Data:

python manage.py loaddata base/fixtures/initial_data.json
python manage.py loaddata hydromet/fixtures/initial_data.json

You should now be able to run the development server:

python manage.py runserver