DjangoDash Awesomesauce
- Clone the repo.
- Add a git remote called
heroku
pointing atgit@heroku.com:insertcreativenamehere.git
. - Create a file called .env and add:
DATABASE_URL=sqlite://localhost/local.db
,SECRET_KEY=<some secret key>
andDEBUG=True
. - Create a GitHub app on https://github.com/settings/applications setting both urls to http://localhost:8000/.
- Add
GITHUB_APP_SECRET
andGITHUB_APP_ID
to your .env file using the credentials from github. - Run
make run
. - Open http://localhost:8000
- Hack.
NEVER commit your .env file!
foreman run env/bin/python manage.py ...
heroku run python manage.py ...
make deploy