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

Latest commit

 

History

History
63 lines (45 loc) · 2.25 KB

README.md

File metadata and controls

63 lines (45 loc) · 2.25 KB

Hubot

Current tag Repository issues

Our customized hubot instance which is used in #BanManger IRC channel in the EsperNet.

hubot is a chat bot built on the Hubot framework. It was initially generated by generator-hubot, and configured to be deployed on Heroku to get you up and running as quick as possible.

Installation

  1. Clone this repository:
    git clone https://github.com/BanManagement/Hubot /opt/hubot
  2. Install the sysVinit service if you are on Debian, etc.
    ln -sf /opt/hubot/opt/hubot.sysvinit /etc/init.d/hubot
    chmod +x /etc/init.d/hubot
  3. Add a unix user for the Bot:
    adduser hubot
    chown hubto:hubot /opt/hubot
  4. Install all node dependencies:
    cd /opt/hubot
    npm install
  5. Copy the default configuration file:
    cp hubot.example.conf hubot.conf
  6. Start the bot:
    service hubot start

Running hubot Locally

You can test your hubot by running the following, however some plugins will not behave as expected unless the environment variables they rely upon have been set.

You can start hubot locally by running:

$ bin/hubot

Scripts

Contributing

  1. Fork it
  2. Create your feature branch: git checkout -b feature/my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Submit a pull request

Version

1.0.0

License

MIT