This template was only tested with and only works with Mountain Lion OS X (Mac). This may change in the future.
See a full, in depth tutorial on how to use the template HERE
This template simplifies the setup process of creating a Django project that's ready to be pushed to Heroku with Amazon S3 support.
-
It takes about 3 minutes to setup and run a local django project using this template.
-
It takes under 10 minutes to setup and run a django project using this template on Heroku (Following this Tutorial). Setting up and install requirements on Heroku for the first time is what takes the most time!
- OS X
- virtualenv
- heroku toolbelt
- git
- Amazon S3 Account (Get AWS Keys Ready!)
Below is a brief overview on how to setup the template. I recommend going through a more in depth tutorial HERE.
- Download .zip and extract it to your desired directory.
- Rename the root folder to whatever you like. DO NOT modify any other files.
cd
into your recently renamed root folder.- Run
git init
in terminal. - run
virtualenv .env
in terminal (You may name your virtualenv anything you like). - Activate your virtual environment by running
source .env/bin/activate
in terminal. - run
pip install -r requirements.txt
in terminal (~1min). - run
python setup.py
in terminal. Follow the prompts and make sure to have your amazon S3 keys ready. - reactivate your virtual environment by running
source .env/bin/activate
- Your project is now setup. You can test locally by running
python manage.py syncdb
and thenpython manage.py runserver
in terminal. - You could also test it on the herokuapp site. Just make sure you run
syncdb
on your heroku app.
Copyright (c) 2013 Mark Glagola. See License.txt