DjangoDash Awesomesauce
Find a file
2012-08-18 03:03:17 +02:00
localrequirements.txt local requirements without pylibmc 2012-08-18 03:03:17 +02:00
Makefile local requirements without pylibmc 2012-08-18 03:03:17 +02:00
manage.py initial project layout 2012-08-18 02:24:05 +02:00
Procfile initial project layout 2012-08-18 02:24:05 +02:00
README.md added secret key 2012-08-18 02:47:33 +02:00
requirements.txt local requirements without pylibmc 2012-08-18 03:03:17 +02:00
settings.py added secret key 2012-08-18 02:47:33 +02:00
urls.py initial project layout 2012-08-18 02:24:05 +02:00

rogueojiiofwales

DjangoDash Awesomesauce

How-To

  • Clone the repo.
  • Add a git remote called heroku pointing at git@heroku.com:insertcreativenamehere.git.
  • Create a file called .env and add: DATABASE_URL=sqlite://localhost/local.db, SECRET_KEY=<some secret key> and DEBUG=True.
  • Run make run.
  • Open http://localhost:8000
  • Hack.

NEVER commit your .env file!

Run local commands

foreman run env/bin/python manage.py ...

Run remote commands

heroku run python manage.py ...

Deploy

make deploy