Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (31 loc) · 1.46 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.46 KB

Lita development environment

This repository provides Lita users with a complete development environment for trying out Lita and developing Lita plugins.

Quick start

  1. Install Vagrant
  2. Install VirtualBox
  3. git clone https://github.com/litaio/development-environment.git lita-dev
  4. cd lita-dev
  5. vagrant up - This will take a few minutes the first time.
  6. vagrant ssh
  7. 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.

Next steps

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.

Documentation

For complete documentation on installing and using the development environment, please visit Installation on the Lita documentation site.

License

MIT