Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Capistrano

 Capistrano

Automated deployments with Capistrano (Internal Talk at Leapfrog Technology)

Saugat Acharya

March 23, 2016
Tweet

More Decks by Saugat Acharya

Other Decks in Technology

Transcript

  1. Deployment So#ware deployment is all of the ac5vi5es that make

    a so#ware system available for use: • Copy/clone code • Run composer, npm, gulp • Run migra6ons • Reload the web server • No6fy about the deployment
  2. 1. Less error-prone Just run this command they said. It’s

    straigh5orward they said. It can’t go wrong they said.
  3. • Uses SSH • Does everything in parallel • Supports

    Git, SVN, Mercurial • Easy to integrate with PHP projects • Mostly used with rails projects
  4. Requirements • Ruby >= 1.9.3 • SSH access to all

    servers with public keys (recommended)
  5. Stages Refers to different set of environments (servers): dev, uat,

    qa, staging, produc9on Can also include configura0on per stage or even different tasks.
  6. Other Alterna+ves • Fabric - Python • Mina - Ruby

    • Rocketeer - PHP • Shipit - Javascript • Deployer - PHP • CI Services like Travis CI, Circle CI, Jenkins