SlideShare a Scribd company logo
1 of 12
Download to read offline
AUTOMATING WORDPRESS
Daine Mawer / WordCamp Cape Town 2017
“Ultimate automation…will make our modern industry
as primitive and outdated as the stone age
man looks to us today”
- Albert Einstein
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
Front End Engineer at 10up (http://10up.com)
Lecturer, Corporate Trainer, Envato Author
BA in Creative Brand Communications
@dainemawer
https://dainelindleymawer.me
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
SETUP
DEV
DEPLOY
FUTURE
Optimize and Automate starting new projects
Automate and Scaffold redundant development
Push, Build, Compile and Test source code
One-click, Voice Controlled, API Services
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
• You have a fairly good command and understanding of bash, Linux
environment and servers.
• You want to keep things DRY and have the OS perform common tasks for
you, faster than you can.
• You work on one or more client projects simultaneously with varying degrees
of development for themes and plugins.
• You hate FTP. You want one-click deploys to a staging server or production.
• Im assuming that your code has no fatal errors or performance problems.
We’ll make the following assumptions:
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
• ReduceTTL (Time to Live) deploys by 50%
• Focus on development of features, and let technology figure out the rest
• A one-time setup that we can iterate over and improve for each project that
we work on.
• Peace of mind and living and working close to our DRY values.
• To better ourselves, our processes and at the end of the day, be able to take
on more clients and provide better value and service.
And we’ll strive for the following goals:
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
WHAT WE WANT
A one time setup that will allow us to quickly add new sites
setup a database and install WordPress by running one command
WHAT WE WILL USE
VVV2 - Vagrant
WHY WE WILL USE IT
VVV has had some bad raps in the past. But, for the sake of removing redundant and
DO REPEAT YOURSELF tasks, its latest version (2.0) is stable and robust enough to allow us to create
new projects with ease. No need for complicated stack configurations, we’re developers and we want
peace of mind and continuity.
View my vvv-custom.yml
VVV2 on Github
HOURS SAVED: 1-2 in total per project.
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
WHAT WE WANT
A tool to scaffold and initialize new project builds within the WordPress environment.
This could be a plugin or theme.
WHAT WE WILL USE
10up’s WP Make - Yeoman Generator.
WHY WE WILL USE IT
In under 5 minutes we can create a theme along with a child theme, with Grunt, Sass and Composer
all ready to go. Whats more is that we can easily create a plugin or WordPress library by running a similar
command on the terminal. This saves us from creating the same files and functions over and over again,
as well as aligning our work to best practices.
WP Make on Github
HOURS SAVED: 3-4 in total per project.
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
WHAT WE WANT
We want automated deployments of stable code to development environments that take the pain out of
difficult or complex deploys.
WHAT WE WILL USE
DeployBot or Jenkins
WHY WE WILL USE IT
We don't want to manually log into the server, change directories and pull git branches, we don't want to
manually update databases either. We want peace of mind and a little bit of time to sacrifice during setup
that will allow us to push stable, reviewed code to a server, either through a git-hook or via some other
custom tool or command that makes deployments ready to go in under a minute.
DeployBot / Jenkins
HOURS SAVED: 5-10 in total per project.
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
The future is already here:
https://github.com/dainemawer/voice-control-wp
WHO AM I
WHO I’VE WORKED WITH
TODAY’S WORKSHOP
ASSUMPTIONS
GOALS
SETUP
DEVELOPMENT
DEPLOYMENTS
FUTURE
THANK YOU
For questions, feedback, consultations or discussion please get in touch:
THANK YOU
@dainemawer
https://dainelindleymawer.me
daine27
dainelmawer@gmail.com

More Related Content

What's hot

WP-CLI: WordCamp NYC 2015
WP-CLI: WordCamp NYC 2015WP-CLI: WordCamp NYC 2015
WP-CLI: WordCamp NYC 2015Terell Moore
 
On the importance of done
On the importance of doneOn the importance of done
On the importance of doneRob Purdie
 
WordPress with WP Engine and the Agency Partner Program: Getting Set Up
WordPress with WP Engine and the Agency Partner Program: Getting Set UpWordPress with WP Engine and the Agency Partner Program: Getting Set Up
WordPress with WP Engine and the Agency Partner Program: Getting Set UpWP Engine
 
Real-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-EmployedReal-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-EmployedTim Hobson
 
DrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitableDrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitablePromet Source
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...Peter Gfader
 
Headless 101 - Everything You Wanted to Know and More!
Headless 101 - Everything You Wanted to Know and More!Headless 101 - Everything You Wanted to Know and More!
Headless 101 - Everything You Wanted to Know and More!WP Engine
 
Time's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save YoursTime's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save YoursJames Bundey
 
Top 10 WordPress Plugins
Top 10 WordPress PluginsTop 10 WordPress Plugins
Top 10 WordPress PluginsManny Sarmiento
 
Top 8 Tools To Optimize Your Work Day!
Top 8 Tools To Optimize Your Work Day!Top 8 Tools To Optimize Your Work Day!
Top 8 Tools To Optimize Your Work Day!Manny Sarmiento
 
How Ninefold Tests for User Happiness
How Ninefold Tests for User HappinessHow Ninefold Tests for User Happiness
How Ninefold Tests for User HappinessRyan Clark
 
Security Webinar: Harden the Heart of Your WordPress SiteSe
Security Webinar: Harden the Heart of Your WordPress SiteSeSecurity Webinar: Harden the Heart of Your WordPress SiteSe
Security Webinar: Harden the Heart of Your WordPress SiteSeWP Engine
 
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...WP Engine
 
Building and future-proofing your WordPress sites with the Genesis Framework
Building and future-proofing your WordPress sites with the Genesis FrameworkBuilding and future-proofing your WordPress sites with the Genesis Framework
Building and future-proofing your WordPress sites with the Genesis FrameworkWP Engine
 
Build a Blog for Your Small Business
Build a Blog for Your Small BusinessBuild a Blog for Your Small Business
Build a Blog for Your Small BusinessMaking It Remotely
 
Lighthouse custom audits - London Web Performance 2019
Lighthouse custom audits -  London Web Performance 2019Lighthouse custom audits -  London Web Performance 2019
Lighthouse custom audits - London Web Performance 2019Aymen Loukil
 
DevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
DevOps and Performance - Why, How and Best Practices - DevOps Meetup SydneyDevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
DevOps and Performance - Why, How and Best Practices - DevOps Meetup SydneyAndreas Grabner
 
Dont Break Live lightning talk
Dont Break Live lightning talkDont Break Live lightning talk
Dont Break Live lightning talkJamie Schmid
 
Webinar - Accessibility: The journey.
Webinar - Accessibility: The journey.Webinar - Accessibility: The journey.
Webinar - Accessibility: The journey.WP Engine
 

What's hot (20)

WP-CLI: WordCamp NYC 2015
WP-CLI: WordCamp NYC 2015WP-CLI: WordCamp NYC 2015
WP-CLI: WordCamp NYC 2015
 
On the importance of done
On the importance of doneOn the importance of done
On the importance of done
 
WordPress with WP Engine and the Agency Partner Program: Getting Set Up
WordPress with WP Engine and the Agency Partner Program: Getting Set UpWordPress with WP Engine and the Agency Partner Program: Getting Set Up
WordPress with WP Engine and the Agency Partner Program: Getting Set Up
 
Real-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-EmployedReal-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-Employed
 
DrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitableDrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & Profitable
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
 
Headless 101 - Everything You Wanted to Know and More!
Headless 101 - Everything You Wanted to Know and More!Headless 101 - Everything You Wanted to Know and More!
Headless 101 - Everything You Wanted to Know and More!
 
Time's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save YoursTime's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save Yours
 
Top 10 WordPress Plugins
Top 10 WordPress PluginsTop 10 WordPress Plugins
Top 10 WordPress Plugins
 
Top 8 Tools To Optimize Your Work Day!
Top 8 Tools To Optimize Your Work Day!Top 8 Tools To Optimize Your Work Day!
Top 8 Tools To Optimize Your Work Day!
 
How Ninefold Tests for User Happiness
How Ninefold Tests for User HappinessHow Ninefold Tests for User Happiness
How Ninefold Tests for User Happiness
 
Security Webinar: Harden the Heart of Your WordPress SiteSe
Security Webinar: Harden the Heart of Your WordPress SiteSeSecurity Webinar: Harden the Heart of Your WordPress SiteSe
Security Webinar: Harden the Heart of Your WordPress SiteSe
 
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
 
Building and future-proofing your WordPress sites with the Genesis Framework
Building and future-proofing your WordPress sites with the Genesis FrameworkBuilding and future-proofing your WordPress sites with the Genesis Framework
Building and future-proofing your WordPress sites with the Genesis Framework
 
Build a Blog for Your Small Business
Build a Blog for Your Small BusinessBuild a Blog for Your Small Business
Build a Blog for Your Small Business
 
Better than google.
Better than google.Better than google.
Better than google.
 
Lighthouse custom audits - London Web Performance 2019
Lighthouse custom audits -  London Web Performance 2019Lighthouse custom audits -  London Web Performance 2019
Lighthouse custom audits - London Web Performance 2019
 
DevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
DevOps and Performance - Why, How and Best Practices - DevOps Meetup SydneyDevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
DevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
 
Dont Break Live lightning talk
Dont Break Live lightning talkDont Break Live lightning talk
Dont Break Live lightning talk
 
Webinar - Accessibility: The journey.
Webinar - Accessibility: The journey.Webinar - Accessibility: The journey.
Webinar - Accessibility: The journey.
 

Similar to WordCamp, Cape Town 2017

Cisco webex zend con2010 presentation
Cisco webex zend con2010 presentationCisco webex zend con2010 presentation
Cisco webex zend con2010 presentationEnterprise PHP Center
 
Cisco webex zend con2010 presentation
Cisco webex zend con2010 presentationCisco webex zend con2010 presentation
Cisco webex zend con2010 presentationEnterprise PHP Center
 
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
The Superhero’s Method of Modern HTML5 Development by RapidValue SolutionsThe Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
The Superhero’s Method of Modern HTML5 Development by RapidValue SolutionsRapidValue
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Edureka!
 
WordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for BeginnersWordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for BeginnersStewart Ritchie
 
Build an Infra Product with AWS Fargate
Build an Infra Product with AWS FargateBuild an Infra Product with AWS Fargate
Build an Infra Product with AWS FargateWill Button
 
Fixing Continuous Delivery For Mobile
Fixing Continuous Delivery For MobileFixing Continuous Delivery For Mobile
Fixing Continuous Delivery For MobileEvan Schultz
 
DevOps With Chef and Azure
DevOps With Chef and AzureDevOps With Chef and Azure
DevOps With Chef and AzureMatt Stratton
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeSteve Mercier
 
Front End: Building Future-Proof eCommerce Sites.pdf
Front End: Building Future-Proof eCommerce Sites.pdfFront End: Building Future-Proof eCommerce Sites.pdf
Front End: Building Future-Proof eCommerce Sites.pdfWP Engine
 
WordPress Continuous Maintenance
WordPress Continuous MaintenanceWordPress Continuous Maintenance
WordPress Continuous MaintenanceOlaf Lindström
 
WordPress automation and CI
WordPress automation and CIWordPress automation and CI
WordPress automation and CIRan Bar-Zik
 
WordPress London Developer Operations For Beginners
WordPress London Developer Operations For BeginnersWordPress London Developer Operations For Beginners
WordPress London Developer Operations For BeginnersStewart Ritchie
 
Understanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous DeliveryUnderstanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous DeliverySwapnil Jain
 
Enabling your DevOps culture with AWS-webinar
Enabling your DevOps culture with AWS-webinarEnabling your DevOps culture with AWS-webinar
Enabling your DevOps culture with AWS-webinarAaron Walker
 
Romulus crisan + radu pascal click'n'deploy
Romulus crisan + radu pascal   click'n'deployRomulus crisan + radu pascal   click'n'deploy
Romulus crisan + radu pascal click'n'deployCodecamp Romania
 
We-Donut.io presentation of Platform
We-Donut.io presentation of PlatformWe-Donut.io presentation of Platform
We-Donut.io presentation of PlatformDennis Reurings
 

Similar to WordCamp, Cape Town 2017 (20)

The unintended benefits of Chef
The unintended benefits of ChefThe unintended benefits of Chef
The unintended benefits of Chef
 
Cisco webex zend con2010 presentation
Cisco webex zend con2010 presentationCisco webex zend con2010 presentation
Cisco webex zend con2010 presentation
 
Cisco webex zend con2010 presentation
Cisco webex zend con2010 presentationCisco webex zend con2010 presentation
Cisco webex zend con2010 presentation
 
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
The Superhero’s Method of Modern HTML5 Development by RapidValue SolutionsThe Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
 
WordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for BeginnersWordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for Beginners
 
Build an Infra Product with AWS Fargate
Build an Infra Product with AWS FargateBuild an Infra Product with AWS Fargate
Build an Infra Product with AWS Fargate
 
Fixing Continuous Delivery For Mobile
Fixing Continuous Delivery For MobileFixing Continuous Delivery For Mobile
Fixing Continuous Delivery For Mobile
 
DevOps With Chef and Azure
DevOps With Chef and AzureDevOps With Chef and Azure
DevOps With Chef and Azure
 
DevOps demystified
DevOps demystifiedDevOps demystified
DevOps demystified
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
 
Front End: Building Future-Proof eCommerce Sites.pdf
Front End: Building Future-Proof eCommerce Sites.pdfFront End: Building Future-Proof eCommerce Sites.pdf
Front End: Building Future-Proof eCommerce Sites.pdf
 
WordPress Continuous Maintenance
WordPress Continuous MaintenanceWordPress Continuous Maintenance
WordPress Continuous Maintenance
 
Wordpress development 101
Wordpress development 101Wordpress development 101
Wordpress development 101
 
WordPress automation and CI
WordPress automation and CIWordPress automation and CI
WordPress automation and CI
 
WordPress London Developer Operations For Beginners
WordPress London Developer Operations For BeginnersWordPress London Developer Operations For Beginners
WordPress London Developer Operations For Beginners
 
Understanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous DeliveryUnderstanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous Delivery
 
Enabling your DevOps culture with AWS-webinar
Enabling your DevOps culture with AWS-webinarEnabling your DevOps culture with AWS-webinar
Enabling your DevOps culture with AWS-webinar
 
Romulus crisan + radu pascal click'n'deploy
Romulus crisan + radu pascal   click'n'deployRomulus crisan + radu pascal   click'n'deploy
Romulus crisan + radu pascal click'n'deploy
 
We-Donut.io presentation of Platform
We-Donut.io presentation of PlatformWe-Donut.io presentation of Platform
We-Donut.io presentation of Platform
 

Recently uploaded

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

WordCamp, Cape Town 2017

  • 1. AUTOMATING WORDPRESS Daine Mawer / WordCamp Cape Town 2017
  • 2. “Ultimate automation…will make our modern industry as primitive and outdated as the stone age man looks to us today” - Albert Einstein
  • 3. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU Front End Engineer at 10up (http://10up.com) Lecturer, Corporate Trainer, Envato Author BA in Creative Brand Communications @dainemawer https://dainelindleymawer.me
  • 4. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU
  • 5. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU SETUP DEV DEPLOY FUTURE Optimize and Automate starting new projects Automate and Scaffold redundant development Push, Build, Compile and Test source code One-click, Voice Controlled, API Services
  • 6. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU • You have a fairly good command and understanding of bash, Linux environment and servers. • You want to keep things DRY and have the OS perform common tasks for you, faster than you can. • You work on one or more client projects simultaneously with varying degrees of development for themes and plugins. • You hate FTP. You want one-click deploys to a staging server or production. • Im assuming that your code has no fatal errors or performance problems. We’ll make the following assumptions:
  • 7. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU • ReduceTTL (Time to Live) deploys by 50% • Focus on development of features, and let technology figure out the rest • A one-time setup that we can iterate over and improve for each project that we work on. • Peace of mind and living and working close to our DRY values. • To better ourselves, our processes and at the end of the day, be able to take on more clients and provide better value and service. And we’ll strive for the following goals:
  • 8. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU WHAT WE WANT A one time setup that will allow us to quickly add new sites setup a database and install WordPress by running one command WHAT WE WILL USE VVV2 - Vagrant WHY WE WILL USE IT VVV has had some bad raps in the past. But, for the sake of removing redundant and DO REPEAT YOURSELF tasks, its latest version (2.0) is stable and robust enough to allow us to create new projects with ease. No need for complicated stack configurations, we’re developers and we want peace of mind and continuity. View my vvv-custom.yml VVV2 on Github HOURS SAVED: 1-2 in total per project.
  • 9. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU WHAT WE WANT A tool to scaffold and initialize new project builds within the WordPress environment. This could be a plugin or theme. WHAT WE WILL USE 10up’s WP Make - Yeoman Generator. WHY WE WILL USE IT In under 5 minutes we can create a theme along with a child theme, with Grunt, Sass and Composer all ready to go. Whats more is that we can easily create a plugin or WordPress library by running a similar command on the terminal. This saves us from creating the same files and functions over and over again, as well as aligning our work to best practices. WP Make on Github HOURS SAVED: 3-4 in total per project.
  • 10. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU WHAT WE WANT We want automated deployments of stable code to development environments that take the pain out of difficult or complex deploys. WHAT WE WILL USE DeployBot or Jenkins WHY WE WILL USE IT We don't want to manually log into the server, change directories and pull git branches, we don't want to manually update databases either. We want peace of mind and a little bit of time to sacrifice during setup that will allow us to push stable, reviewed code to a server, either through a git-hook or via some other custom tool or command that makes deployments ready to go in under a minute. DeployBot / Jenkins HOURS SAVED: 5-10 in total per project.
  • 11. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU The future is already here: https://github.com/dainemawer/voice-control-wp
  • 12. WHO AM I WHO I’VE WORKED WITH TODAY’S WORKSHOP ASSUMPTIONS GOALS SETUP DEVELOPMENT DEPLOYMENTS FUTURE THANK YOU For questions, feedback, consultations or discussion please get in touch: THANK YOU @dainemawer https://dainelindleymawer.me daine27 dainelmawer@gmail.com