DjangoDash Awesomesauce
Find a file
2012-08-18 15:38:28 -07:00
ghapi updates the ghuser on login 2012-08-18 17:57:24 +02:00
githubnetwork Merge pull request #5 from econchick/topic/views 2012-08-18 15:38:28 -07:00
static Bootstrap Dropdown plugin 2012-08-18 11:13:39 -07:00
templates detect logged in users on the home page (mostly debugging social auth) 2012-08-18 17:23:15 +02:00
.gitignore don't commit hidden files 2012-08-18 14:21:22 +02:00
localrequirements.txt really removed the need for pylibmc this time 2012-08-18 03:14:38 +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 Merge branch 'master' into feature/github-auth 2012-08-18 03:05:00 +02:00
requirements.txt really removed the need for pylibmc this time 2012-08-18 03:14:38 +02:00
settings.py disable normal model auth backend 2012-08-18 18:05:15 +02:00
urls.py Fix the regex for the login view 2012-08-17 22:24:32 -07:00
views.py detect logged in users on the home page (mostly debugging social auth) 2012-08-18 17:23:15 +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.
  • 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