Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (29 sloc) 1.03 KB

{{ project_name|title }} Django Project


  • python >= 2.5
  • pip
  • virtualenv/wrapper (optional)


Creating the environment

Create a virtual python enviroment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.

For virtualenvwrapper

mkvirtualenv --no-site-packages {{ project_name }}-env

For virtualenv

virtualenv --no-site-packages {{ project_name }}-env

cd {{ project_name }}-env

source bin/activate

Clone the code

Obtain the url to your git repository. git clone <URL_TO_GIT_RESPOSITORY> {{ project_name }}

Install requirements

cd {{ project_name }}

pip install -r requirements.txt

Configure project

cp {{ project_name }}/ {{ project_name }}/

vi {{ project_name }}/

Sync database

python syncdb


python runserver

Open browser to