SlideShare a Scribd company logo
Dev Team Workflows and Processes
… with WordPress
Overview of some processes used at an agency level. Version control, code standards, database migrations, environment
aware config files and automated deployments. From local development setup to multiple environments, version control to
automated deployments, content migration to modular mentalities. With some how-to talk and some how-not-to talk, we’ll
discuss some ways to “soup up” our process to work for us when it comes to web development and WordPress.
WordCamp Atlanta - 15 April 2018
Introductions
Evan Mullins
@circlecube
circlecube.com
WordPress user since 2006
Full-time web developer since 2007
Senior Front End Engineer at 10up
Slides at https://circlecube.com/does-wordpress/
10up is Hiring...
Local Development
Environmentally Aware wp-config.php
Version Control: git
Database Migrations
Automated Deployments
Code Standards & Reviews
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Local Development
SFTP (secure)File Transfer Protocol
move/copy files to web server
Local
MAMP, WAMP, XAMP, AMPPS
VVV
Varying Vagrant
Vagrants
Local
Local by Flywheel
Docker
Local by Flywheel
Local by Flywheel
Local by Flywheel
Local by Flywheel
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Wp-local-docker setup
1. git clone https://github.com/10up/wp-local-docker.git
<my-project-name>
2. cd <my-project-name>
3. docker-compose up
4. Run setup to download and install WordPress:
a. On Linux / Unix / OSX, run sh bin/setup.sh
b. On Windows, run ./bin/setup
Read more: https://github.com/10up/wp-local-docker
Environmentally Aware wp-config.php
default wp-config.php
Environment Aware wp-config.php
or a unique wp-config.php for each environment
Version Control: git
git & svn are version control systems (vcs)
Like the undo button or
history pane in photoshop.
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
github.com
sourcetree
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
What to source control?
Generally we don’t source control code we aren’t writing. (unless it’s useful)
Repo for your whole site?
Repo for your theme?
Repo for your plugin(s)?
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Build Tools
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
gulpfile.js
Gulp is a build/watch app built in javascript via node. We can set it to compile our sass,
concatenate our js and minify everything and more.
● Compile SASS
● Concatenate JS
● Minify css and js files
● Optimize theme images
● Set up browsersync - so any file saves to your css/scss, js, php files will auto reload
in your browser for fast dev cycle/workflow!
Gulp setup
# install gulp globally
npm install --global gulp
# add gulpfile.js to your theme/plugin
# install dependencies
npm install
# start gulp
gulp
# to stop gulp press CTRL () + C
Build and Workflow tools: Grunt, Gulp, etc
CodeKit
WP-CLI
#navigate to directory
cd local.project.com
#download wp
wp core download
#set up db creds in config
wp core config --dbname=root --dbuser=root --dbpass=pass
#install wp
wp core install --url=http://local.project.com/ --title=Project Site
--admin_user=emullins --admin_password=********
--admin_email=emullins@brownbagmarketing.com
#create users
wp user create brownbag wordpress@brownbagmarketing.com --user_pass=********
--first_name='Brown Bag' --last_name=Marketing --role=admin
#install plugins
wp plugin activate
#install theme
wp theme install ../path/or/url/to/theme/zip.zip
#activate theme
wp theme activate my-theme
Database Migrations
Manual db dump and import?
wp-cli search-replace
wp_options table siteurl and home values
Migrate DB Pro
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Automated Deployments
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Deployment Tools
ssh deployment
# remove repo dir
rm -r -f repo
# recreate repo dir
mkdir repo
# clone repo into dir
git clone <repo-url> repo
# open repo dir
cd repo
# sync files in public_html with repo branch
rsync -avv --exclude .git/ --no-W /root/repo/ /root/public_html/
Code Standards & Reviews
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Advanced
Custom
Fields
JSON
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with wordpress
Thank You!
Comments or Questions?
Slides available at https://circlecube.com/does-wordpress/

More Related Content

PPTX
Serenity BDD Workshop - 9th March 2016
PDF
Drupal 7 Tutorial: Features Module
PDF
The Themer's Guide to WP-CLI
PDF
Webpack & React Performance in 16+ Steps
PDF
Working in Harmony: Manchester - Optimize development and content workflows
PDF
World is changed. i feel it in the front end
PDF
Case study: JBoss Developer Studio, an IDE for Web, Mobile and Cloud applicat...
PDF
Front-End Tooling
Serenity BDD Workshop - 9th March 2016
Drupal 7 Tutorial: Features Module
The Themer's Guide to WP-CLI
Webpack & React Performance in 16+ Steps
Working in Harmony: Manchester - Optimize development and content workflows
World is changed. i feel it in the front end
Case study: JBoss Developer Studio, an IDE for Web, Mobile and Cloud applicat...
Front-End Tooling

What's hot (20)

ODP
Kickstart Jpa
PDF
Modern Web Application Development Workflow - EclipseCon France 2014
PDF
Grunt.js and Yeoman, Continous Integration
PPTX
The Ultimate WordPress Development Environment
PPTX
A holistic approach to web performance
PDF
Code driven development in drupal
PDF
Getting Started With WP REST API
PPTX
WP-CLI: WordCamp Nashville 2016
PDF
The swiss knife of a word press developer
PPTX
Lazy angular w/ webpack
PPTX
Untangling spring week12
PPTX
Angular 1.5 Components
PDF
Madison PHP 2015 - DevOps For Small Teams
KEY
Drupal Deployment
PDF
Learn How Selenium And Jenkins Fit In DevOps | Edureka Live
PPTX
Introduction to chef
PDF
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
PDF
Building and Releasing a Golang CLI Tool
PDF
WordPress as a Headless CMS - Bronson Quick
PDF
Buildr - build like you code
Kickstart Jpa
Modern Web Application Development Workflow - EclipseCon France 2014
Grunt.js and Yeoman, Continous Integration
The Ultimate WordPress Development Environment
A holistic approach to web performance
Code driven development in drupal
Getting Started With WP REST API
WP-CLI: WordCamp Nashville 2016
The swiss knife of a word press developer
Lazy angular w/ webpack
Untangling spring week12
Angular 1.5 Components
Madison PHP 2015 - DevOps For Small Teams
Drupal Deployment
Learn How Selenium And Jenkins Fit In DevOps | Edureka Live
Introduction to chef
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
Building and Releasing a Golang CLI Tool
WordPress as a Headless CMS - Bronson Quick
Buildr - build like you code
Ad

Similar to WordCamp Atlanta - April 15 2018 - dev team workflow and processes with wordpress (20)

PPTX
WordPress automation and CI
PDF
Rock Solid Deployment of Web Applications
PPTX
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
PPTX
Advanced WordPress Tooling: By InstaWP.com
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
PDF
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
PDF
フロントエンドエンジニア(仮) 〜え、ちょっとフロントやること多すぎじゃない!?〜
PDF
Deploy like a pro!
DOCX
Muraliupdatedpersonal091215
PDF
ZendCon 2015 - DevOps for Small Teams
PDF
The Secrets of The FullStack Ninja - Part A - Session I
PDF
Consistent Development Environment with Vagrant and Chef
PDF
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
PDF
Quest for the Perfect Workflow for McrFRED
PDF
DevOps For Small Teams
PDF
Scale your Magento app with Elastic Beanstalk
PDF
Django dev-env-my-way
PDF
Introduction of webpack 4
PDF
Modern Gentlemen's WordPress
WordPress automation and CI
Rock Solid Deployment of Web Applications
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Advanced WordPress Tooling: By InstaWP.com
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
フロントエンドエンジニア(仮) 〜え、ちょっとフロントやること多すぎじゃない!?〜
Deploy like a pro!
Muraliupdatedpersonal091215
ZendCon 2015 - DevOps for Small Teams
The Secrets of The FullStack Ninja - Part A - Session I
Consistent Development Environment with Vagrant and Chef
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
Quest for the Perfect Workflow for McrFRED
DevOps For Small Teams
Scale your Magento app with Elastic Beanstalk
Django dev-env-my-way
Introduction of webpack 4
Modern Gentlemen's WordPress
Ad

More from Evan Mullins (11)

PDF
FSE FTW - Full Site Editing For The Win - WordCamp 2022
PDF
Blockity McBlock Blocks, Oh My!
PDF
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
PDF
Meetup: The big change coming to WordPress in 2018 - Gutenberg
PDF
WordCamp Wilmington 2017 WP-API Why?
PDF
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
PDF
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
PDF
Modifying your themes design - Learning CSS - Atlanta WordPress users group
PDF
Custom post types- Choose Your Own Adventure - WordCamp Atlanta 2014 - Evan M...
PDF
Firstborn child theme word camp presentation - atlanta 2013
PDF
From PSD to WP Theme
FSE FTW - Full Site Editing For The Win - WordCamp 2022
Blockity McBlock Blocks, Oh My!
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
Meetup: The big change coming to WordPress in 2018 - Gutenberg
WordCamp Wilmington 2017 WP-API Why?
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
Modifying your themes design - Learning CSS - Atlanta WordPress users group
Custom post types- Choose Your Own Adventure - WordCamp Atlanta 2014 - Evan M...
Firstborn child theme word camp presentation - atlanta 2013
From PSD to WP Theme

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
Teaching material agriculture food technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Teaching material agriculture food technology
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Empathic Computing: Creating Shared Understanding
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
NewMind AI Weekly Chronicles - August'25 Week I
The AUB Centre for AI in Media Proposal.docx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

WordCamp Atlanta - April 15 2018 - dev team workflow and processes with wordpress