Django 1.4+ project template for starting new RapidSMS projects.
Clone or download
Latest commit 02458df Aug 5, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project_name fixed AttributeError: 'tuple' object has no attribute 'resolve’ Aug 5, 2015
requirements Update to latest RapidSMS Jul 25, 2015
.gitignore ignore virtualenv directory Sep 29, 2012
README.rst Update README as well Jul 25, 2015
manage.py add project skeleton Sep 29, 2012

README.rst

{% if False %} Installation ------------

To start a new project with this template:

django-admin.py startproject --template=https://github.com/rapidsms/rapidsms-project-template/zipball/master --extension=py,rst <project_name>
Or to use a released version:
django-admin.py startproject --template=https://github.com/rapidsms/rapidsms-project-template/zipball/release-0.21.0 --extension=py,rst <project_name>

{% endif %} {{ project_name|title }} ========================

Below you will find basic setup instructions for the {{ project_name }} 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 {{ project_name }}-env

On Posix systems you can activate your environment like this:

source {{ project_name }}-env/bin/activate

On Windows, you'd use:

{{ project_name }}-env\Scripts\activate

Then:

cd {{ project_name }}
pip install -U -r requirements/base.txt

Run migrate:

python manage.py migrate

You should now be able to run the development server:

python manage.py runserver