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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.