Capistrano basic commands

Posted . Visible to the public.

Once you have the basic configuration file (see: Capistrano basic configuration), you can:

Initialize the deployment directory

cap deploy:setup

Verify that the deployment server has all the dependencies needed:

cap deploy:check

Deploy the changes

cap deploy:update

Tip: Don't forget to setup the database in the deployment server.

If you have setup multiple deployment targets as mentioned in Capistrano basic configuration:

To deploy to production:

cap production deploy:update

To deploy to testing:

cap testing deploy:update
Profile picture of Saul
Saul
Last edit
Posted by Saul to rails (2012-12-12 22:29)