econchick / rogueojiiofwales

DjangoDash Awesomesauce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
  • Create a GitHub app on https://github.com/settings/applications setting both urls to http://localhost:8000/.
  • Add GITHUB_APP_SECRET and GITHUB_APP_ID to 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

About

DjangoDash Awesomesauce


Languages

Language:JavaScript 61.7%Language:Python 38.3%