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

Capistrano vs Mina: Capistrano demo talk

Capistrano vs Mina: Capistrano demo talk

Capistrano deployment demo talk

Ee1bd63b4d7f6e79bdcddf1611ccec99?s=128

Bruno Sutic

January 27, 2015
Tweet

Transcript

  1. Deploying
 with Capistrano

  2. About: Bruno Sutic, github.com/bruno-/
 Rails & Javascript developer
 Ideal Project

    Group, Chicago Worked on a Capistrano plugins: github.com/capistrano-plugins/
  3. Goals • Demo Capistrano deployment • Capistrano ecosystem & possibilities

    • Mina vs Capistrano comparison
  4. What is skipped? • Capistrano vs Heroku (vs Engine Yard

    vs Docker vs…) • server installation and configuration (provisioning) • Capistrano internals
  5. Capistrano demo STEPS 1. make a Rails app ✅ 2.

    buy & setup a server ✅ 3. setup Capistrano 4. deploy STACK • Nginx • Unicorn • PostgreSQL
  6. Demo

  7. Advantages • setup code is minimal • composable gems ecosystem

    • *no ssh login* to the server required! • the same setup for multi-server deployment
  8. Multi-server setup Web server
 (Nginx) App App DB
 (PostgreSQL)

  9. Multi-server demo

  10. Demo summary • setup app for Capistrano deployment • rollback

    • multi-server setup & deployment
  11. Capistrano vs Mina

  12. Questions