Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Capistrano
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Saugat Acharya
March 23, 2016
Technology
0
59
Capistrano
Automated deployments with Capistrano (Internal Talk at Leapfrog Technology)
Saugat Acharya
March 23, 2016
Tweet
Share
More Decks by Saugat Acharya
See All by Saugat Acharya
5-min-introduction-to-ASTs-in-javascript.pdf
mesaugat
0
190
Embracing Open Source
mesaugat
0
83
Why to JavaScript in 2018?
mesaugat
0
730
Asynchronous JavaScript
mesaugat
0
120
Other Decks in Technology
See All in Technology
Webhook best practices for rock solid and resilient deployments
glaforge
1
260
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
590
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
160
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
760
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
210
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
120
What happened to RubyGems and what can we learn?
mikemcquaid
0
250
プロポーザルに込める段取り八分
shoheimitani
1
170
GCASアップデート(202510-202601)
techniczna
0
250
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
KATA
mclloyd
PRO
34
15k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Become a Pro
speakerdeck
PRO
31
5.8k
A Soul's Torment
seathinner
5
2.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
The Curious Case for Waylosing
cassininazir
0
230
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
89
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Site-Speed That Sticks
csswizardry
13
1.1k
Transcript
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
Deployment Goals
1. One-click/command Deployment
2. Any'me/anywhere (Anyone with permission)
3. Zero Down+me Deployment
4. Reliable Rollbacks
5. Repeatable
6. Scalable
Why automated deployments?
1. Less error-prone Just run this command they said. It’s
straigh5orward they said. It can’t go wrong they said.
2. More (me for developing so3ware and less (me doing
stuff like this...
3. Release more frequently
A remote server automa,on and deployment tool wri4en in Ruby.
h"p:/ /capistranorb.com/
• Uses SSH • Does everything in parallel • Supports
Git, SVN, Mercurial • Easy to integrate with PHP projects • Mostly used with rails projects
Requirements • Ruby >= 1.9.3 • SSH access to all
servers with public keys (recommended)
Terminologies • Task • Recipe • Namespace • Role •
Stages
Task A concrete set of commands to execute.
Recipe A collec'on of tasks.
Namespace Organizes tasks within recipes and avoids naming collisions.
Role Servers can have different roles like: app, demo, web
Stages Refers to different set of environments (servers): dev, uat,
qa, staging, produc9on Can also include configura0on per stage or even different tasks.
Other Alterna+ves • Fabric - Python • Mina - Ruby
• Rocketeer - PHP • Shipit - Javascript • Deployer - PHP • CI Services like Travis CI, Circle CI, Jenkins
Demo
Thank you Let's hope your deployments won't be like this
from now on.