Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Extremely Powerful Local WordPress Development ...
Search
Brad Parbs
July 25, 2015
Technology
1
180
Extremely Powerful Local WordPress Development with Vagrant and Friends
Brad Parbs
July 25, 2015
Tweet
Share
More Decks by Brad Parbs
See All by Brad Parbs
Learn to Love the Terminal
bradp
0
690
Extremely Powerful Local WordPress Development with Vagrant and Friends - WordCamp Grand Rapids 2014
bradp
1
320
Plugin Security
bradp
3
150
Web414 - Writing Clean, Clear, & Semantic Markup with HTML5
bradp
0
410
WordCamp Baltimore - Let's Get Sassy!
bradp
2
500
Starter Themes for Appleton WordPress Meetup
bradp
1
180
#WCGR - Getting SASSy
bradp
4
290
#WCPVD - Getting SASSy
bradp
2
280
WordCamp Chicago 2013 - Template Hiearchy
bradp
1
170
Other Decks in Technology
See All in Technology
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.5k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.4k
20260204_Midosuji_Tech
takuyay0ne
1
160
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
590
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
470
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
480
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
110
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
Navigating Weather and Climate Data
rabernat
0
110
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Designing Experiences People Love
moore
144
24k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Transcript
(and it has some real neat friends)
I’m Brad Parbs • Developer @ WebDevStudios • Push code
to http://github.com/bradp • http://brad.party
Let’s talk about local development environments.
Let’s talk about local development environments.
Let’s talk about local development environments.
So, what’s Vagrant? Create and configure lightweight, reproducible, and portable
development environments.
I ♥ Vagrant & friends. Vagrant VVV VV
I ♥ Vagrant & friends. • Easy WPCLI • Setting
up sites super fast • Always up-to-date • No more MAMP • Keeps your system clean
wp cli
What can you do with WPCLI? $ wp core update
$ wp plugin install logout-roulette $ wp scaffold post-type books
Setting up and managing sites super easily!
Scripting site setup • Auto-create Sublime project • Add to
SourceTree • Open in Chrome • Anything you can imagine
Installing Vagrant
None
None
Installing Vagrant • Any OS works! • Install VirtualBox (4.2.x
or 4.3.6 recommended by VVV) • Install Vagrant http://www.vagrantup.com/downloads.html https://www.virtualbox.org/wiki/Downloads
How does it actually work though? • VirtualBox runs a
VM • Vagrant manages it
How to use • Clone a box • Start up
a virtual machine • Use it! • Pause / Destroy it anytime
Commands $ vagrant init $ vagrant up $ vagrant halt
$ vagrant destroy $ vagrant provision $ vagrant ssh
None
Varying Vagrant Vagrants “Varying Vagrant Vagrants is an evolving Vagrant
configuration focused on WordPress development.”
Installation $ vagrant plugin install vagrant-hostsupdater $ git clone git://github.com/Varying-Vagrant-Vagrants/VVV.git
$ cd VVV $ vagrant up
How VVV works • Uses Ubuntu+Nginx • Automatic provisioning script
for WP updates • Keeps database on host filesystem • Easy to modify / configure
Sites VVV creates for you
http://local.wordpress.dev/ for WordPress stable
http://local.wordpress-trunk.dev/ for WordPress trunk
http://src.wordpress-develop.dev/ for trunk WordPress development files
http://build.wordpress-develop.dev/ for the version of those development files built with
Grunt
http://vvv.dev/ Default dashboard containing several useful tools: PHPmyAdmin, OPCache, links
to all sites, etc
VV http://vvv.dev/ Default dashboard containing several useful tools: PHPmyAdmin, OPCache,
links to all sites, etc https://github.com/leogopal/VVV-Dashboard
Helpful aliases $ alias v=vagrant $ alias vp="vagrant provision" $
alias vup="vagrant up --provision && vagrant ssh"
Other things • Prefer Apache? https://github.com/ericmann/vvv-apache
Scripting Site Setup https://github.com/varying-vagrant-vagrants/vvv/wiki/Auto-site-Setup
VV https://github.com/bradp/vv
Installation • $ brew install bradp/vv/vv
How does it work? Gives you a super helpful “$
vv” command
How does it work? Gives you a super helpful “$
vv” command
Commands • $ vv create • $ vv delete •
$ vv list
Advanced Commands • $ vv --deployment-create • $ vv --blueprint-init
• $ vv -v up
Developer Workflow (live demo ?)
Speeding up Vagrant Provision • VVV looks for custom-provision.sh in
provision folder. • You can remove the WP updates and apt-get updates for more speed.
None
None
More Tips and Tricks • Anything you do that’s repetitive,
script it! • Learn to love ‘vagrant provision’
None