On Github shhetri / capistrano-presentation
Created by Sumit Chhetri / @shhetri
YIPL , Kumaripati, Lalitpur
Sumit Chhetri
Software Engineer @ YIPL
PHP Developer
Love to code in Laravel Framework
Software deployment is all of the activities that make a software system available for use
One-click / command deployment
Anytime & Anywhere
Anyone (with permission) can deploy
Nominal/No downtime (ZDD - zero downtime deployment)
Reliable Rollbacks
Pushed code to production, recalled there was a critical bug
Reusable and should be reproducible (repeatable)
Scalable
Deployments become much less error-prone
compared to this...
This simulates a manual deployment
Anyone in the team with permission can deploy software
Engineers will spend most of their time developing software
and not have to face this kind of situation...
Problematic deployment is over
Deploying to somewhere new is not a headache
You can release features more frequently as its easy, automated and reproducible
A remote server automation and deployment tool written in Ruby
Originally a tool for deploying code
Evolved into remote multi-server automation tool
Uses SSH
Does everything in parallel
Support these VCS out of the box
Easy to integrate with PHP projects
We @ YIPL chose capistrano because it is popular and most importantly fits for our use-case
Ruby >= 1.9.3
SSH access to all servers,
recommended with public keys (password less)
A concrete set of commands to execute.
A collection of tasks.
Organizes tasks within recipes and
avoids naming collisions
Servers can have different roles like
app
demo
web
Refers to each environment being a stage like dev, staging, testing, production.
Usually means different set of servers.
Can also include configuration per stage.
Or even different tasks.
Chat ops with deploying from Hipchat using Hubot
Docker deployment but looks like a problem in Internet challenged Nepal :)
You can drop me a message via
Email : sumit.chhetri@yipl.com.np er.sumit.chhetri@gmail.com Facebook : https://www.facebook.com/SHhetri Twitter : https://twitter.com/shhetriPHP Developers Meetup #14 Team
All of you