This repository provides Lita users with a complete development environment for trying out Lita and developing Lita plugins.
- 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.
If you want to run Lita, first generate a new project with:
lita new .
This will generate a new Lita project in the workspace directory. Then start Lita with:
lita
If you want to develop a plugin, run one of the following commands:
lita adapter NEW_ADAPTER_NAME
lita handler NEW_HANDLER_NAME
lita extension NEW_EXTENSION_NAME
The capitalized phrase should be replaced with the name you want to give your plugin.
For complete documentation on installing and using the development environment, please visit Installation on the Lita documentation site.