Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (28 sloc) 1.29 KB

This project is deprecated

Please see: and for more up to date templates and instructions

Old instructions for posterity

This project is intended to be a template to base mySociety Django projects on. It is not meant to be deployable on its own.

Set up from a fresh empty repository:

$ cd <path-to-parent-of-where-you-want-to-clone-django-jumpstart>
$ git clone
$ cd <path-to-your-new-project-dir>
$ VIRTUALENV_PATH=../virtualenv-project
$ virtualenv $VIRTUALENV_PATH
$ source $VIRTUALENV_PATH/bin/activate
$ pip install Django
$ startproject --template=<path-to-django-jumpstart>/project_template --extension py,yml,bash,conf-example,yml-example project_name .
$ pip install -r requirements.txt

You will need to edit the .gitignore to ignore the normal deployed general and httpd.conf files.

You might want to think about adding commonlib as a submodule.

Then when adding an app, use:

./ startapp --template=<path-to-app_template-directory> app_name

Possible todo

  • mySociety banner to the header/footer
  • 404 and 500 templates