SlideShare a Scribd company logo
Deployment with
Capifony / Capistrano
Jan De Coster (@wecreate)
http://www.we-create.be
@wecreate
Whoami - Profesional
- History:
- Devops/COO @ ROMBIT
- Option, Alcatel, Vlaamse overheid, ...
- Current:
- Senior Developer @ Appstrakt
- Freelance Developer @ We-Create
Personal - Private
- Sports
- Reading
- Cooking
- Traveling
- …
Deployment with capifony
Software deployment is all of the activities that make a software system
available for use.The general deployment process consists of several
interrelated activities with possible transitions between them.
Deployment
How do you deploy your applications to the wild ?
Tell me your story?
What is Capifony?
Capifony is a deployment recipes collection that works with both symfony and Symfony2
applications.
Website: http://capifony.org
Author: Konstantin Kudryashov (https://github.com/everzet)
Some figures:
106 Contributors
694 Commits
62 Releases
What is the current state of Capifony?
Deprecated … why? because of the new capistrano/symfony (3) extension
You can read more about this on:
http://williamdurand.fr/2015/04/11/on-capifony-and-its-future/
Capistrano
A remote server automation and deployment tool written in Ruby.
Website: http://capistranorb.com
Author: Jamis Buck, Lee Hambley
Current stable release: 3.4.0
Some numbers:
658 Commits
103 Contributers
70 Releases
Why should you use it?
- Pre-defined flow upon deploying your app to a certain stage (Production/Staging/Testing)
- Rollback to a previous release
- Integrate Doctrine migrations (up/down scheme)
- Getting a remote database to local env.
- Easy to install
- Easy to manage
- Easy to re-use
Installing capifony
Capifony/capistrano are ruby packages so they are easy installable using RubyGems
And now capifony is installed!
Deployment with capifony
The capistrano flow
Deployment with capifony
step by step
Configuring a new project
The project setup
Creating a new symfony project
Initializing capifony
Configuring Capifony/capistrano
Setting up the structure at the server
And it looks on the server like this
Your first deployment
Usefull commands
cap deploy deploy your
application
cap deploy:rollback rollback your current version
to a previous
cap deploy:check check if everything
is ok for a deployment
cap deploy:cleanup cleanup old deploys
cap database:dump:remote Dump the remote database to a
local folder
cap database:dump:local Dump the local database to a
local folder
cap database:copy:to_local Dump the remote database and
populate the local
cap database:copy:to_remote Dump the local database and
populate the remote
Deployment with capifony
Possible Extensions
- notify slack / hipchat on deployment
- Multiple stages (development/production/testing)
- Executing commands before releasing
- Run migrations
- Restart the nginx process
- Run bower/grunt
- ....
Quirks
- Symlinks not always picked up by webserver -> Manually need reload/restart
- APC cache not cleared
- Capistrano 2
- Deprecated
DEMO TIME
Alternative deployers
Deployer - Deployment Tool for PHP
http://deployer.org/
ROCKETEER - Rocketeer is a modern PHP taskrunner and deployment package.
http://rocketeer.autopergamene.eu/
...
Questions ?!
Deployment with capifony

More Related Content

PPTX
Webinar AWS für Unternehmen Teil 3: Disaster Recovery
KEY
Capistrano, Puppet, and Chef
PDF
Panther: test your Symfony apps with real web browsers
PDF
Feeding Drupal in Real-Time
PPTX
Automation in Cloud
PDF
Composer Power User Tips
PPTX
Deploying phalcon on heroku
PDF
Ansible, PHP and EC2
Webinar AWS für Unternehmen Teil 3: Disaster Recovery
Capistrano, Puppet, and Chef
Panther: test your Symfony apps with real web browsers
Feeding Drupal in Real-Time
Automation in Cloud
Composer Power User Tips
Deploying phalcon on heroku
Ansible, PHP and EC2

What's hot (20)

KEY
Joomla! Day Poland 2012 - Advanced Akeeba Backup - Beyond just backing up you...
PPS
Difference WAMP and XAMPP
DOCX
GUIDE - Migrating AWS EBS backed AMI's between Regions
PDF
DevOps Summit 2016 - The immutable Journey
ODP
Fabric: A Capistrano Alternative
PDF
Jenkins and Docker for native Linux packages
KEY
Deployment on Heroku
PDF
Importing and synchronizing content using Feeds
PPTX
Managing AWS infrastructure using CloudFormation
PPT
Capistrano
PDF
Xampp installation
PDF
DevOps 2015 - Dancing with Chef
PDF
Mitchell Hashimoto, HashiCorp
PDF
Automation in the Small: Code to Cloud
PPTX
Ansible Devops North East - slides
PDF
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
PDF
Terraform
PPT
Capistrano - Deployment Tool
PPT
Xampp Ppt
PDF
Terraform Best Practices - DevOps Unicorns 2019
Joomla! Day Poland 2012 - Advanced Akeeba Backup - Beyond just backing up you...
Difference WAMP and XAMPP
GUIDE - Migrating AWS EBS backed AMI's between Regions
DevOps Summit 2016 - The immutable Journey
Fabric: A Capistrano Alternative
Jenkins and Docker for native Linux packages
Deployment on Heroku
Importing and synchronizing content using Feeds
Managing AWS infrastructure using CloudFormation
Capistrano
Xampp installation
DevOps 2015 - Dancing with Chef
Mitchell Hashimoto, HashiCorp
Automation in the Small: Code to Cloud
Ansible Devops North East - slides
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
Terraform
Capistrano - Deployment Tool
Xampp Ppt
Terraform Best Practices - DevOps Unicorns 2019
Ad

Viewers also liked (20)

PPT
Capistrano
PPT
Photos
PDF
Capistrano
PPTX
Getting Started with Capistrano
PDF
Pythonic Deployment with Fabric 0.9
PPTX
Control your deployments with Capistrano
PPTX
Capistrano demo
PPTX
Configuration Management in a Containerized World
PDF
130207 kyotorb
PPT
Orchestration with Chef
PDF
Aws security with HIDS, OSSEC
PPT
Capistrano Deployment By Nyros Developer
PPTX
What Makes a Good Chef Cookbook? (May 2014 Edition)
PPTX
Chef Cookbook Design Patterns
PPTX
Orchestration? You Don't Need Orchestration. What You Want is Choreography.
PPTX
Automated Deployment with Fabric
PDF
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
PPTX
Capistrano 3 Deployment
PDF
ChefConf 2013: Beginner Chef Antipatterns
PDF
Automation - fabric, django and more
Capistrano
Photos
Capistrano
Getting Started with Capistrano
Pythonic Deployment with Fabric 0.9
Control your deployments with Capistrano
Capistrano demo
Configuration Management in a Containerized World
130207 kyotorb
Orchestration with Chef
Aws security with HIDS, OSSEC
Capistrano Deployment By Nyros Developer
What Makes a Good Chef Cookbook? (May 2014 Edition)
Chef Cookbook Design Patterns
Orchestration? You Don't Need Orchestration. What You Want is Choreography.
Automated Deployment with Fabric
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
Capistrano 3 Deployment
ChefConf 2013: Beginner Chef Antipatterns
Automation - fabric, django and more
Ad

Similar to Deployment with capifony (20)

PDF
Using Capifony for Symfony apps deployment.
PDF
Using Capifony for Symfony apps deployment (updated)
ODP
Capifony. Minsk PHP MeetUp #11
PPTX
Deployment with capistrano
PDF
Deploy made easy (even on Friday)
PDF
Symfony Deployment with Capifony #symfony_ja
PDF
Capistrano for non-rubyist
PPTX
Capistrano - automate all the things
PDF
Deploy like a pro!
PDF
Capistrano deploy Magento project in an efficient way
PDF
Deployment Via Capistrano
PDF
Capistrano
PDF
Symfony Live NYC 2014 - Rock Solid Deployment of Symfony Apps
PDF
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
PPT
PHP Deployment With Capistrano
PPT
Professional deployment
PDF
Rock Solid Deployment of Web Applications
ODP
CAPISTRANO
PDF
High Stakes Continuous Delivery in the Real World #OpenWest
PDF
Automated Drupal deployment with Git and Capistrano
Using Capifony for Symfony apps deployment.
Using Capifony for Symfony apps deployment (updated)
Capifony. Minsk PHP MeetUp #11
Deployment with capistrano
Deploy made easy (even on Friday)
Symfony Deployment with Capifony #symfony_ja
Capistrano for non-rubyist
Capistrano - automate all the things
Deploy like a pro!
Capistrano deploy Magento project in an efficient way
Deployment Via Capistrano
Capistrano
Symfony Live NYC 2014 - Rock Solid Deployment of Symfony Apps
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
PHP Deployment With Capistrano
Professional deployment
Rock Solid Deployment of Web Applications
CAPISTRANO
High Stakes Continuous Delivery in the Real World #OpenWest
Automated Drupal deployment with Git and Capistrano

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Electronic commerce courselecture one. Pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
Modernizing your data center with Dell and AMD
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
KodekX | Application Modernization Development
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MYSQL Presentation for SQL database connectivity
Diabetes mellitus diagnosis method based random forest with bat algorithm
Electronic commerce courselecture one. Pdf
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Modernizing your data center with Dell and AMD
Advanced methodologies resolving dimensionality complications for autism neur...
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
KodekX | Application Modernization Development
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Deployment with capifony

  • 1. Deployment with Capifony / Capistrano Jan De Coster (@wecreate)
  • 3. Whoami - Profesional - History: - Devops/COO @ ROMBIT - Option, Alcatel, Vlaamse overheid, ... - Current: - Senior Developer @ Appstrakt - Freelance Developer @ We-Create
  • 4. Personal - Private - Sports - Reading - Cooking - Traveling - …
  • 6. Software deployment is all of the activities that make a software system available for use.The general deployment process consists of several interrelated activities with possible transitions between them. Deployment
  • 7. How do you deploy your applications to the wild ? Tell me your story?
  • 8. What is Capifony? Capifony is a deployment recipes collection that works with both symfony and Symfony2 applications. Website: http://capifony.org Author: Konstantin Kudryashov (https://github.com/everzet) Some figures: 106 Contributors 694 Commits 62 Releases
  • 9. What is the current state of Capifony? Deprecated … why? because of the new capistrano/symfony (3) extension You can read more about this on: http://williamdurand.fr/2015/04/11/on-capifony-and-its-future/
  • 10. Capistrano A remote server automation and deployment tool written in Ruby. Website: http://capistranorb.com Author: Jamis Buck, Lee Hambley Current stable release: 3.4.0 Some numbers: 658 Commits 103 Contributers 70 Releases
  • 11. Why should you use it? - Pre-defined flow upon deploying your app to a certain stage (Production/Staging/Testing) - Rollback to a previous release - Integrate Doctrine migrations (up/down scheme) - Getting a remote database to local env. - Easy to install - Easy to manage - Easy to re-use
  • 12. Installing capifony Capifony/capistrano are ruby packages so they are easy installable using RubyGems And now capifony is installed!
  • 16. step by step Configuring a new project
  • 18. Creating a new symfony project
  • 21. Setting up the structure at the server And it looks on the server like this
  • 23. Usefull commands cap deploy deploy your application cap deploy:rollback rollback your current version to a previous cap deploy:check check if everything is ok for a deployment cap deploy:cleanup cleanup old deploys cap database:dump:remote Dump the remote database to a local folder cap database:dump:local Dump the local database to a local folder cap database:copy:to_local Dump the remote database and populate the local cap database:copy:to_remote Dump the local database and populate the remote
  • 25. Possible Extensions - notify slack / hipchat on deployment - Multiple stages (development/production/testing) - Executing commands before releasing - Run migrations - Restart the nginx process - Run bower/grunt - ....
  • 26. Quirks - Symlinks not always picked up by webserver -> Manually need reload/restart - APC cache not cleared - Capistrano 2 - Deprecated
  • 28. Alternative deployers Deployer - Deployment Tool for PHP http://deployer.org/ ROCKETEER - Rocketeer is a modern PHP taskrunner and deployment package. http://rocketeer.autopergamene.eu/ ...