Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Latest commit

 

History

History
executable file
·
47 lines (29 loc) · 1.29 KB

README.md

File metadata and controls

executable file
·
47 lines (29 loc) · 1.29 KB

Epoch Bot

An IRC bot written in Ruby using the rubot framework. It has some useful functions, but generally serves to provide breaks during the long, grueling workday.

Setup

Ruby

Epoch Bot is written against Ruby 1.9.2. Make sure the bin directory is in your path (I think there is an option for this in the installer). Also, make sure to install the DevKit.

Bundler

Epoch Bot uses Bundler to manage dependencies. If you don't yet have Bundler, install it with:

gem install bundler

Installing Dependencies

To make sure all dependencies are installed, run

bundle install

Database

Epoch Bot uses the Sequel ORM on top of SQLite 3. To make sure your local schema is up to date, run

bundle exec rake db:migrate

Config

The configuration is conveniently located in the config.yml file. For running locally, you should open this file and change the nick of the bot and put your nick in the authorized_nicks section.

Run It!

To execute the bot, simply run

bundle exec rubot server