summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2012-11-16 12:25:19 +0200
committerYuval Adam <yuv.adm@gmail.com>2012-11-16 12:25:19 +0200
commit28c09425f24b5084eca7de88b506ea44ddb44b7c (patch)
tree321f0d5f354b1094c983e78c1f5865bb11d1b124
parent3eea5c8061c466718ee2851fb45f46554cc3bd18 (diff)
Update README with deployment procedure
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6cf9dc6..a8798c9 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,14 @@
Heroku Periodic
===============
-A skeleton app based on Heroku/Python/Flask/Celery that runs a single worker executing periodical tasks.
+A skeleton app based on Heroku/Python/Celery that runs a single worker executing periodical tasks.
+
+This skeleton can be used to quickly run periodical tasks on the Heroku platform using an arbitrary `timedelta` or `crontab` entry. The code is based on a single worker which runs with an integrated `celery beat` scheduler to avoid using a separate process just for scheduling. Redis is used as the broker, based on the `redistogo:nano` plan.
+
+Deployment
+----------
+
+ - `heroku create`
+ - `heroku addons:add redistogo:nano`
+ - `git push heroku master`
+ - `heroku ps:scale worker=1`