A Simple Base Heroku Django Project
- settings.py: Change the secret key
- If you are unsure what to change it to, see the following options:
- For local development, from the project root, install your venv:
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
- Update project name everywhere, replace foobarbaz with project name
- Update file names
- Update file contents
- Make your APP on heroku:
heroku create --stack cedar {{ project name }}
- Push it to Heroku!
git push heroku master
- If you need a local dev environment db:
- create your local db
- add the following to your venv/bin/activate script: * export DATABASE_URL="postgres://{{ db user }}:{{ db name }}@localhost/{{ project name }}"
- From the project root:
source venv/bin/activate
python manage.py syncdb
* Create your user accounts