lita-trisul
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
- Fork and then
- Ubuntu -
git clone https://github.com/trisulnsm/lita-trisul.git
- Ubuntu -
- Install ruby
- Ubuntu -
sudo apt-get install ruby ruby-dev
- Ubuntu -
- Install Ruby binding for ZMQ - we use this to connect to Trisul domain
- Ubuntu -
sudo apt-get install ruby-ffi-rzmq
- Ubuntu -
- Install other dependencies
- Ubuntu -
sudo apt-get install build-essential libssl-dev redis-server librsvg2-bin libzmq3-dev
- Ubuntu -
- Install bundler and all the gems
- Ubuntu -
sudo gem install bundler
thenbundle install
- Ubuntu -
Creating your Chat bot
- Create a new LITA instance
lita new mybotwalle
- Configure your BOT for HIPCHAT
- Move to the LITA instance directory 'cd mybotwalle/'
- Open : lita_config.rb and configure parameters to the chat platform.
- 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 .