The Flashpoint Housebot
- Install Vagrant
- Install VirtualBox
git clone https://github.com/litaio/development-environment.git lita-dev
cd lita-dev
vagrant up
- This will take a few minutes the first time.vagrant ssh
lita-dev
After the last step, you will be dropped into a shell in a Debian system inside the /home/lita/workspace
directory. This directory is shared with the "workspace" directory on your host computer inside the repository you cloned. The system has Redis, Ruby, and Lita already installed.
To run Lita:
HOUSEBOT_SLACK_TOKEN='<token>' lita
To add a handler, just create a .rb
file in the handlers
directory. It will
automatically be loaded.