https://github.com/radar/railsbot
The #rubyonrails channel bot
https://github.com/radar/railsbot
Last synced: about 2 months ago
JSON representation
The #rubyonrails channel bot
- Host: GitHub
- URL: https://github.com/radar/railsbot
- Owner: radar
- Created: 2009-11-28T09:31:13.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2019-03-05T10:59:42.000Z (about 6 years ago)
- Last Synced: 2025-02-10T13:44:00.302Z (3 months ago)
- Language: PLSQL
- Homepage: http://ryanbigg.com
- Size: 175 KB
- Stars: 47
- Watchers: 6
- Forks: 24
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Railsbot
This is the channel bot ("helpa") for #rubyonrails. It is used so people don't have to type things over and over again.
You can run the bot yourself with `ruby bot.rb irc.freenode.net`.
# Heroku
Configure your bot in `config/summer.yml`First set the required config vars
`heroku config:set RAILS_BOT_IRC_SERVER=irc.freenode.net`
`heroku config:set RAILS_BOT_IRC_PORT=6667`
next run required database migrations
`heroku run ruby migration.rb`
next configure heroku to use a bot worker
`heroku ps:scale bot=1`
**Database settings**
The database settings in summer.yml will automatically be overwritten by heroku's DATABASE_URL environment variable so that its an effortless setup to use heroku postgres.