libertyseeds.ca
capistrano | libertyseeds.ca
https://libertyseeds.ca/tags/capistrano
Deploy a Rails app to Docker with Capistrano. These instructions follow my previous post on deploying multiple Rails apps with Passenger, Nginx, and Docker. Go read (and do) all that first. As always, this guide assumes the production server is running Ubuntu 14.04 and has all the requisite software already installed (e.g.: Docker, Rails, Capistrano, etc.). Further, it is assumed that you have a system similar to the one described here. Set up project in local development environment. To look like this:.
libertyseeds.ca
Deploying the Rails Tutorial Sample App | libertyseeds.ca
https://libertyseeds.ca/2015/03/31/Deploying-the-Rails-Tutorial-Sample-App
Deploying the Rails Tutorial Sample App. I recently worked through Michael Hartl’s wonderful Ruby on Rails Tutorial. As a refresher. The software implemented under his direction offers functionality that basically every modern website requires (e.g., user sign up, password retrieval, etc). That which follows documents the steps I took to deploy all the best parts of that tutorial. In a production environment. Much of this post was ripped off from this article. Add a user account. Sudo adduser deploy sudo.