From e35acb0cdf30b9d992d5707cfdd2c76a370699c3 Mon Sep 17 00:00:00 2001 From: Jonas Obrist Date: Sat, 18 Aug 2012 02:26:00 +0200 Subject: [PATCH] added make deploy --- Makefile | 3 +++ README.md | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40f0c5a..c11587e 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,6 @@ update: run: update $(MANAGEPY) runserver 0.0.0.0:8000 + +deploy: + git push heroku master diff --git a/README.md b/README.md index 1286496..50e4858 100644 --- a/README.md +++ b/README.md @@ -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``