rogueojiiofwales/README.md

34 lines
770 B
Markdown
Raw Normal View History

2012-08-10 15:04:14 -07:00
rogueojiiofwales
================
2012-08-18 02:24:05 +02:00
DjangoDash Awesomesauce
How-To
------
* Clone the repo.
* Add a git remote called ``heroku`` pointing at ``git@heroku.com:insertcreativenamehere.git``.
2012-08-18 02:26:00 +02:00
* 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.
2012-08-18 02:24:05 +02:00
* Run ``make run``.
* Open http://localhost:8000
* Hack.
Run local commands
------------------
``foreman run env/bin/python manage.py ...``
Run remote commands
-------------------
``heroku run python manage.py ...``
Deploy
------
2012-08-18 02:26:00 +02:00
``make deploy``