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
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
旬のブリと旬の技術で楽しむ AI エージェント設計開発レシピ
chack411
1
160
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
290
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
60k
Java 25に至る道
skrb
3
190
Eight Engineering Unit 紹介資料
sansan33
PRO
0
6.2k
たかがボタン、されどボタン ~button要素から深ぼるボタンUIの定義について~ / BuriKaigi 2026
yamanoku
1
120
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
ECS_EKS以外の選択肢_ROSA入門_.pdf
masakiokuda
1
120
【Agentforce Hackathon Tokyo 2025 発表資料】みらいシフト:あなた働き方を、みらいへシフト。
kuratani
0
110
業務の煩悩を祓うAI活用術108選 / AI 108 Usages
smartbank
9
20k
Models vs Bounded Contexts for Domain Modularizati...
ewolff
0
120
SES向け、生成AI時代におけるエンジニアリングとセキュリティ
longbowxxx
0
310
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
92
BBQ
matthewcrist
89
10k
Amusing Abliteration
ianozsvald
0
84
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.8k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
220
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
140
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
170
Tell your own story through comics
letsgokoyo
0
780
Paper Plane
katiecoart
PRO
0
45k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Rails Girls Zürich Keynote
gr2m
95
14k
Un-Boring Meetings
codingconduct
0
170
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.