Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (43 sloc) 1.05 KB

{{ project_name|title }} Django Project


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


Creating the environment

Create a virtual python environment 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