github authentication
note: don't deploy this on the server without setting the necessary config vars on heroku first, thanks.
This commit is contained in:
parent
e35acb0cdf
commit
b2d77336d3
3 changed files with 23 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ 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 two values: ``DATABASE_URL=sqlite://localhost/local.db`` 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue