DjangoDash Awesomesauce
				
			
		| static/bootstrap | ||
| templates | ||
| .gitignore | ||
| localrequirements.txt | ||
| Makefile | ||
| manage.py | ||
| Procfile | ||
| README.md | ||
| requirements.txt | ||
| settings.py | ||
| urls.py | ||
| views.py | ||
rogueojiiofwales
DjangoDash Awesomesauce
How-To
- Clone the repo.
- Add a git remote called herokupointing 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_SECRETandGITHUB_APP_IDto your .env file using the credentials from github.
- 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