Deploying a Ruby web application
Blog post from Octopus Deploy
In this detailed guide, Shawn Sesna outlines the process of deploying a Ruby-based web application, specifically the Veggie Tracker sample application, using Octopus Deploy, with a focus on database migrations and server configuration. He emphasizes the distinction between Ruby application servers, like Puma, and web servers such as NGINX, and explains the setup process for both, including configuring Puma to use sockets. Sesna describes the modification of the database configuration to support PostgreSQL instead of the default SqlLite, and provides an overview of the build process using GitHub Actions, which includes packaging the application with its dependencies. The deployment process is further detailed with step-by-step instructions on setting up deployment scripts and configuring NGINX to serve the application, alongside using Octopus Deploy features like Structured Configuration Variables to manage environment-specific settings. The guide concludes with a successful deployment of the application and a brief note on interpreting system messages during the deployment process.