|
@@ -1,11 +1,16 @@
|
|
|
## Deploy to Heroku
|
|
|
|
|
|
-### Important things to keep in mind on the free plan
|
|
|
+Huginn works very well on the cheapest Heroku paid plan. This is what we recommend if you want to use Huginn on heroku.
|
|
|
+
|
|
|
+Notes for any Heroku plan:
|
|
|
+
|
|
|
+* The `setup_heroku` command points Heroku at a special Procfile (`deployment/heroku/Procfile.heroku`) that is designed to be run on only one Heroku web worker. If you want to run multiple workers, change the Heroku config variable `PROCFILE_PATH` with `heroku config:set PROCFILE_PATH=./Procfile` and switch back to the standard Huginn Procfile configuration.
|
|
|
+
|
|
|
+Notes if you try the free plan (which won't work very well):
|
|
|
|
|
|
* Heroku's [free plan](https://www.heroku.com/pricing) limits total runtime per day to 18 hours. This means that Huginn must sleep some of the time, and so recurring tasks will only run if their recurrence frequency fits within the free plan's awake time, which is 30 minutes. Therefore, we recommend that you only use the every 1 minute, every 2 minute, and every 5 minute Agent scheduling options.
|
|
|
-* When setting up Pingdom, set the `Check interval` to '60 minutes' so that your Huginn instance is up half the time.
|
|
|
+* If you're using the free plan, you need to signup for a free [uptimerobot](https://uptimerobot.com) account and have it ping your Huginn URL on Heroku once every 70 minutes. If you still receive warnings from Heroku, try a longer interval.
|
|
|
* Heroku's free Postgres plan limits the number of database rows that you can have to 10,000, so you should be sure to set a low event retention schedule for your agents.
|
|
|
-* The `setup_heroku` command points Heroku at a special Procfile (`deployment/heroku/Procfile.heroku`) that is designed to be run on only one Heroku web worker. If you want to run multiple workers, change the Heroku config variable `PROCFILE_PATH` with `heroku config:set PROCFILE_PATH=./Procfile` and switch back to the standard Huginn Procfile configuration.
|
|
|
|
|
|
### Instructions
|
|
|
|
|
@@ -14,7 +19,6 @@
|
|
|
* Now, run the magic setup wizard: `bin/setup_heroku`
|
|
|
* That's it!
|
|
|
* If you make changes, you can re-run `bin/setup_heroku`, or just do `git push heroku master`.
|
|
|
-* Signup for a free [Pingdom](https://www.pingdom.com/free/) account and have it ping your Huginn URL on Heroku once an hour.
|
|
|
|
|
|
### Using your own mail server
|
|
|
|
|
@@ -141,4 +145,4 @@ Just a moment...
|
|
|
Okay, you should be all set! Visit https://radiant-forest-1519.herokuapp.com and login as 'andrew' with your password.
|
|
|
|
|
|
Done!
|
|
|
-```
|
|
|
+```
|