A project template for Django 1.5.
To create a new Django project called 'icecream' using django-twoscoops-project, run the following command (this assumes you have Django 1.5 or 1.4 installated aready):
$ django-admin.py startproject --template=https://github.com/twoscoops/django-twoscoops-project/zipball/master --extension=py,rst,html icecream
You can choose a different name by running the same command but replacing the word 'icecream' with something else.
First, make sure you are using virtualenv (http://www.virtualenv.org):
$ mkvirtualenv --distribute icecream
You will also need to ensure that the virtualenv has the project directory added to the path:
$ cd icecream && add2virtualenv `pwd`
This will allow django-admin.py to be able to change settings using the --settings flag.
After setting up the virtualenv, be sure that the wsgi.py file in your project's application folder has the correct os.environ set:
$ cd icecream/icecream/icecream && vim wsgi.py
Change project_name.settings.local to your current project deployment configuration.
Then, depending on where you are installing dependencies:
In development:
$ pip install -r requirements/local.txt
For production:
$ pip install -r requirements.txt
note: We install production requirements this way because many Platforms as a Services expect a requirements.txt file in the root of projects.
Many thanks to Randall Degges