Head over to the Wiki for docs and help.
Requires Ruby & Redis, http://docs.lita.io/getting-started/installation/#manual-installation
bundle install to setup the relevant gem dependencies.
-
docker-compose buildto build the local image for development -
docker-compose run -T --rm lita bundle exec rspec
Alternatively get a console to interactively run code / debug tests
-
docker-compose run --service-ports --rm lita bashto launch a bash shell in the container -
bundle exec rspecto run tests from the container -
lita startto get a lita shell, where you can use lita commands from the shell for testing, e.g.lita project galaxyto run thelita-zooniverse-projectsplugin.
Note: some handlers will not work unless they have the relevant configuration directives supplied as ENV vars, E.g. locating Lintott via Foursquare, add the relevant ENV vars to your local dev env to test these specific handlers.
Set the LITA_ENV variable to run in production mode on start LITA_ENV=production lita start.
Note: If running in production mode then slack gem needs an token env var token and won't start without a valid one (see lita_config.rb).
Deployed automatically via GitHub Actions