{% 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.15.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:
To setup your local environment you should create a virtualenv and install the necessary requirements:
virtualenv --distribute 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 -r requirements/base.txt
Run syncdb:
python manage.py syncdb python manage.py migrate
You should now be able to run the development server:
python manage.py runserver