Lita chatbot for Trisul Network Analytics
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
spec
templates
.gitattributes
Gemfile
LICENSE
README.md
Rakefile
lita-trisul.gemspec

README.md

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
    • Move to the LITA instance directory 'cd mybotwalle/'
    • Open : lita_config.rb and configure parameters to the chat platform.
  3. Copy brushmetal.css into LITA instance directory for gerbil charts to work
    • cp /var/lib/gems/2.3.0/gems/lita-trisul-0.2.5/lib/lita/handlers/trisul.rb .