WordPress DevOps For Beginners
http://poweredbycoffee.co.uk
Stewart Ritchie @stewartritchie [email protected]
1. DevOps will make you a better developer.
http://poweredbycoffee.co.uk
2. DevOps will help you deliver better work to your clients
http://poweredbycoffee.co.uk
3. DevOps helps move WordPress into bigger companies and opportunities
http://poweredbycoffee.co.uk
How Does Dev Ops Help?
http://poweredbycoffee.co.uk
1. Collaboration
2. Code Sharing
3. Automation
Version Control
http://poweredbycoffee.co.uk
Easy for developers to collaborate
A hardened nuclear bunker for your source code
Makes it easy to have more that one version of your project!
Basically a time machine
http://poweredbycoffee.co.uk
Merging Version Control
http://poweredbycoffee.co.uk
- Gives you the ability to manage different versions of your software
- Development, Staging & Production
- Approve code to move up the versions into production
http://poweredbycoffee.co.uk
http://poweredbycoffee.co.uk
http://poweredbycoffee.co.uk
http://poweredbycoffee.co.uk
http://poweredbycoffee.co.uk
WordPress Has Dependencies
http://poweredbycoffee.co.uk
- Diff by Geoffrey T. Bairiki
- ID3 by James Heinrich
- BackBone & Underscores
The Problem with dependancies is that they can change
http://poweredbycoffee.co.uk
getcomposer.org
Composer & WordPress
http://poweredbycoffee.co.uk
https://core.trac.wordpress.org/ticket/23912
https://core.trac.wordpress.org/ticket/36335
bower.io
Repetition Sucks
http://poweredbycoffee.co.uk
Mistakes Get Made
People Get Bored
Creative people usually don't like to do the same thing over and over again.
Not a good use of skills and talent
Good Candidates for Automation
http://poweredbycoffee.co.uk
Deployments
Compiling Assets (Sass, CoffeeScript, etc)
Compressing Images
Setting up servers
Installing WordPress
Automated Deployments
http://poweredbycoffee.co.uk
No more slow or failed FTP transfers
Easily tied into your version control
Easily undo a mistake
Get new code into production with a few key stokes or clicks
http://capistranorb.com
Capistrano
http://poweredbycoffee.co.uk
- Scriptable and self-installed
- Ruby
- Task Based
- Logs in to your server, pulls from your Version Control, runs a series of tasks
you tell it to.
- Super powerful and flexible
Deploy HQ Deploy Bot Buddy
DeployBot (etc)
http://poweredbycoffee.co.uk
- Many of these services exist
- Hard to configure but just works when its done
- $/£/€
- Less control and less flexible but easier to setup
vagrantup.com
Where To Go Next?
http://poweredbycoffee.co.uk
- Automated Testing (Never ship something broken again)
- Visual Regression Testing (Make CSS changes less painful)
- Code Quality Checks (Stop bad code getting into your repo or near a server)
- Install Software on your servers with a few keystrokes
- Notifications and Integration with your other tools
Top Related