Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Capistrano
Search
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
82
Why to JavaScript in 2018?
mesaugat
0
730
Asynchronous JavaScript
mesaugat
0
120
Other Decks in Technology
See All in Technology
IAMユーザーゼロの運用は果たして可能なのか
yama3133
1
260
Gemini でコードレビュー知見を見える化
zozotech
PRO
1
250
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
320
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
210
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.1k
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
210
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
360
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.4k
第4回 「メタデータ通り」 リアル開催
datayokocho
0
130
SSO方式とJumpアカウント方式の比較と設計方針
yuobayashi
7
670
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
200
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
450
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.2k
RailsConf 2023
tenderlove
30
1.3k
Music & Morning Musume
bryan
46
7k
We Have a Design System, Now What?
morganepeng
54
7.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Visualization
eitanlees
150
16k
BBQ
matthewcrist
89
9.9k
Designing Experiences People Love
moore
143
24k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
How to Ace a Technical Interview
jacobian
280
24k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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.