Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running a Cinch IRC bot on Heroku
  1. Add Heroku to your Gemfile and bundle install.
  2. Create your Heroku app. This will only work with their (currently-beta) 'cedar' stack, so you have to heroku create --stack=cedar.
  3. Create a Procfile for your bot. This tells Heroku how to run your worker. In our case, the bot is bot.rb, so the only line in the Procfile is cinch: bundle exec ./bot.rb
  4. Commit and push to Heroku.
  5. You do not want a Web worker running, so heroku scale web=0 cinch=1. This also sets up your deployments to restart the bot.
@keekerdc

This comment has been minimized.

Copy link

keekerdc commented Jan 30, 2014

Any luck with this recently? Trying to figure out if heroku is now blocking the connection, or if it's an issue with my server, but I get a connection refused error on Cinch bots I'm trying to deploy.

@follesoe

This comment has been minimized.

Copy link

follesoe commented Mar 24, 2014

Bumb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.