recipes

Technical recipes for frequently and infrequently recurring problems

View the Project on GitHub curationexperts/recipes

Automatically deploy using Capistrano

Code deploys should be frequent and automated. Where ever possible, this means using capistrano.

It’s likely you’ll be deploying to a server that was built with ansible-samvera build scripts, in which case, please follow this Capifying guide.

Deploy Targets

For DCE projects, the standard deploy targets are:

Note: This documents practice going forward. There are some older systems that currently use ‘dev’ as a stage name, e.g. tenejo-dev.curationexperts.com. We have moved away from using “dev” as a stage because it can cause confusion with the phrase “development environment” (which is the developer’s local computer, not a server or deploy target).