Instructions for deploying an already working bot to heroku. (It's running locally, right?) Most is replicated from https://github.com/davidboy/herokubot but let me expound a little.
- Create a blank config.ru file.
- Create a Gemfile similar to mine and run
bundle install
- Create a Procfile similar to mine but replace messanger.rb with whatever file your bot is in.
- Now is the moment. If you have no heroku account create one and do evrything that partains pushing to heroku. Like installing the Heroku gem.
- Log into Heroku
heroku login
- Then
heroku create --stack cedar
- Then
git push heroku master
- Then
heroku scale web=0
- Then
heroku scale bot=1
- Join the channel(s) and see your bot go.