lita-trisul

Build Status Coverage Status

Lita-Trisul is a chat bot for Trisul Network Analytics

Installation

Add lita-trisul to your Lita instance's Gemfile:

gem "lita-trisul"

Configuration

Add the following config parameters


# where the Trisul TRP server is
config.handlers.trisul.trp_server_endpoint="tcp://192.168.2.8:12006"

# external IP of this host for serving images
config.handlers.trisul.local_http_server="http://192.168.2.11:3000"

TODO: Describe any configuration attributes the plugin exposes.

Usage

TODO: Describe the plugin's features and how to use them.

Additional instructions

Base install

  1. Fork and then
    • Ubuntu - git clone https://github.com/trisulnsm/lita-trisul.git
  2. Install ruby
    • Ubuntu - sudo apt-get install ruby ruby-dev
  3. Install Ruby binding for ZMQ - we use this to connect to Trisul domain
    • Ubuntu - sudo apt-get install ruby-ffi-rzmq
  4. Install other dependencies
    • Ubuntu - sudo apt-get install build-essential libssl-dev redis-server librsvg2-bin libzmq3-dev
  5. Install bundler and all the gems
    • Ubuntu - sudo gem install bundler then bundle install

Creating your Chat bot

  1. Create a new LITA instance
    • lita new mybotwalle
  2. Configure your BOT for HIPCHAT
    • Open : walle/lita_conf and choose a nick