added make deploy

This commit is contained in:
Jonas Obrist 2012-08-18 02:26:00 +02:00
parent 82c77fc031
commit e35acb0cdf
2 changed files with 5 additions and 1 deletions

View file

@ -8,3 +8,6 @@ update:
run: update
$(MANAGEPY) runserver 0.0.0.0:8000
deploy:
git push heroku master

View file

@ -9,6 +9,7 @@ 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``.
* Run ``make run``.
* Open http://localhost:8000
* Hack.
@ -27,4 +28,4 @@ Run remote commands
Deploy
------
``git push heroku master``
``make deploy``