...for a Rake task within a Rails app to depend on :environment. Understand that Capistrano tasks are also defined using the Rake DSL, but a Capistrano task is not automatically...

...is fast, disk-efficient and feature-rich Deployment Kamal (containers on your own servers) Capistrano to servers run by our operations team We run our own hosting with dedicated servers...

...monitoring and backups, and our DevOps team takes care of Linux package upgrades; Capistrano deploys straight onto those servers, no containers needed "Testing hourglass" is our own term for many...

...the deployed release and need to survive deployments, e.g. as a linked directory in Capistrano. Resources Read what's new to you, skim what's familiar, skip what you already...

...for context, the web-server-side alternative; you don't need to implement it 📄 Capistrano: linked_dirs — why uploaded files live outside the release and how they survive deployments

Best results in other decks

github.com

...configured accordingly. Installation Add this line to your application's Gemfile: gem 'capistrano', '~> 3.0' gem 'capistrano-maintenance', '~> 1.0' Add this line to you application's Capfile: require 'capistrano/maintenance'

...page is enabled while a user interacts. Manual steps If you are still on capistrano 1, you can enable and disable the maintenance page manually. First, prepare a maintenance.html, for...

When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit which was deployed. If you want to know the currently...

...deployed release, simply SSH to a server and view that file. $ cat /var/www/my-project/current/REVISION cf8734ece3938fc67262ad5e0d4336f820689307 Capistrano task When your application is deployed to multiple servers, you probably want to see a...

Search in all decks