Skip to content
Prem Ganeshkumar edited this page Apr 28, 2016 · 2 revisions

This bot can easily be deployed as a Heroku app. However, you should be aware of the caveats and disadvantages.

If you would still like to deploy to Heroku, follow the instructions on this page. This page assumes you already know how to use Heroku and you have the toolbelt all set up.

Configure the bot

Instead of a secrets.js file, you will use Heroku config variables.

Your Heroku app should have the following config vars:

  1. AGOLO_URL
  2. HEROKU_APP_URL - the URL of your Heroku app. Or, the app's custom domain. This is used to send periodic heartbeat pings.
  3. SLACK_TOKEN
  4. AGOLO_TOKEN

Run the bot

Use the command:

heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs#v89 -a

and:

git push heroku master
Clone this wiki locally