Read more

Deploy and migrate with a single Capistrano command

Henning Koch
February 15, 2011Software engineer at makandra GmbH

Note that this sounds good but is not good at all when hooking tasks on cap deploy (see this article Show archive.org snapshot ). Make sure to hook your calls properly when using this.


Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

To deploy an application and run all pending migrations before restarting it, you can use the following standard Capistrano task:

cap deploy:migrations

Little is known what happens when the deployment goes through, but a migration or a rake task afterwards fails. Please update this note when you find out.

Posted by Henning Koch to makandra dev (2011-02-15 20:30)