Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WordPress London Developer Operations For Beginners

2,529 views

Published on

Dev Ops is hard and can seem like another language. This talk given at WordPress London hopes to help new developers, project managers and agency owners a chance to improve the WordPress Dev Ops Workflow

You can find more Developer Operations work at http://poweredbycoffee.co.uk

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WordPress London Developer Operations For Beginners

  1. 1. WordPress DevOps For Beginners http://poweredbycoffee.co.uk Stewart Ritchie @stewartritchie stewart@poweredbycoffee.co.uk
  2. 2. This is NOT a Tutorial http://poweredbycoffee.co.uk
  3. 3. What is Dev Ops anyway? http://poweredbycoffee.co.uk
  4. 4. Why is Dev Ops Important? http://poweredbycoffee.co.uk
  5. 5. 1. DevOps will make you a better developer. http://poweredbycoffee.co.uk
  6. 6. 2. DevOps will help you deliver better work to your clients http://poweredbycoffee.co.uk
  7. 7. 3. DevOps helps move WordPress into bigger companies and opportunities http://poweredbycoffee.co.uk
  8. 8. How Does Dev Ops Help? http://poweredbycoffee.co.uk 1. Collaboration 2. Code Sharing 3. Automation
  9. 9. 1. Collaboration http://poweredbycoffee.co.uk
  10. 10. 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
  11. 11. What is a “Commit”? http://poweredbycoffee.co.uk
  12. 12. http://poweredbycoffee.co.uk
  13. 13. 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
  14. 14. http://poweredbycoffee.co.uk
  15. 15. http://poweredbycoffee.co.uk
  16. 16. http://poweredbycoffee.co.uk
  17. 17. http://poweredbycoffee.co.uk
  18. 18. http://poweredbycoffee.co.uk
  19. 19. 2. Code Sharing http://poweredbycoffee.co.uk
  20. 20. Dependencies http://poweredbycoffee.co.uk
  21. 21. WordPress Has Dependencies http://poweredbycoffee.co.uk - Diff by Geoffrey T. Bairiki - ID3 by James Heinrich - BackBone & Underscores
  22. 22. The Problem with dependancies is that they can change http://poweredbycoffee.co.uk
  23. 23. What About Your Project? http://poweredbycoffee.co.uk
  24. 24. Your Dependancies - have dependencies http://poweredbycoffee.co.uk
  25. 25. What About Your Project? http://poweredbycoffee.co.uk
  26. 26. This Sounds Like a Nightmare http://poweredbycoffee.co.uk
  27. 27. getcomposer.org
  28. 28. Composer & WordPress http://poweredbycoffee.co.uk https://core.trac.wordpress.org/ticket/23912 https://core.trac.wordpress.org/ticket/36335
  29. 29. bower.io
  30. 30. Can Bite You http://poweredbycoffee.co.uk
  31. 31. Easy Ways To Get Started http://poweredbycoffee.co.uk
  32. 32. 3. Automation http://poweredbycoffee.co.uk
  33. 33. 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
  34. 34. Need to do it twice? http://poweredbycoffee.co.uk
  35. 35. Need to do it twice? Automate it. http://poweredbycoffee.co.uk
  36. 36. Good Candidates for Automation http://poweredbycoffee.co.uk Deployments Compiling Assets (Sass, CoffeeScript, etc) Compressing Images Setting up servers Installing WordPress
  37. 37. I Hate FTP http://poweredbycoffee.co.uk
  38. 38. 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
  39. 39. http://capistranorb.com
  40. 40. 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
  41. 41. Deploy HQ Deploy Bot Buddy
  42. 42. 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
  43. 43. Standardising Environments http://poweredbycoffee.co.uk
  44. 44. Use Virtual Machines http://poweredbycoffee.co.uk
  45. 45. vagrantup.com
  46. 46. Concluding http://poweredbycoffee.co.uk
  47. 47. Its going to take a while http://poweredbycoffee.co.uk
  48. 48. These aren’t WordPress Skills http://poweredbycoffee.co.uk
  49. 49. They are Professional Development Skills http://poweredbycoffee.co.uk
  50. 50. 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

×