Deploy styles: Capistrano
This is an article in a series on Deployment
Capistrano is a solution that I’ve been relying on for years, and has served me well over these: easy rollbacks, easy to have files that are permanent. Capistrano fetches the latest version from git, and sets the right symlinks, and triggers additional commands in a predefined order such as update.
It is can be understood quite well, and its systematic deployment procedure takes care about a lot of things (building assets, running database migrations, restarting servers). It is also pretty easy to deploy the same code to multiple servers.
Properties
See for possibilities Deploying Web applications:
- Style: Imperative
- OS virtuality: Out of scope
- Application virtuality: Direct to OS
- From where: Local (but from CI is possible)
- Scope: Application (but can be used to configure at OS level)