added make deploy
This commit is contained in:
parent
82c77fc031
commit
e35acb0cdf
2 changed files with 5 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -8,3 +8,6 @@ update:
|
|||
|
||||
run: update
|
||||
$(MANAGEPY) runserver 0.0.0.0:8000
|
||||
|
||||
deploy:
|
||||
git push heroku master
|
||||
|
|
|
@ -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``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue