Review and Run the Bootstrap Script

This single-pass installer uses a collection of setup scripts to get Lita running on Docker:

  • The entry point is bootstrap_server.sh. You’ll run this locally to connect to your remote server through SSH, upload files the server needs, and kick off some installers.

  • The install_dependencies.sh file gets uploaded to your remote server. When it’s run on the remote machine, it installs some operating system packages (Redis and make), runs your Makefile, and then installs a crontab.

  • The Makefile handles the day-to-day work of starting, stopping, and updating the Docker container that runs your Lita daemon. It runs initially from the “install dependencies” script and again on a schedule via cron.

  • Finally, the ...

Get Build Chatbot Interactions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.