Skip to content

rapidsms/rapidsms-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{% 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

About

Django 1.4+ project template for starting new RapidSMS projects.

Resources

Stars

Watchers

Forks

Packages

No packages published