Top Banner
WordPress Development With Vagrant, VVV, and Vagrant Mitch Canter @thatmitchcanter • www.mitchcanter.com
33

WordPress Development with VVV, VV, and Vagrant

Jan 08, 2017

Download

Technology

Mitch Canter
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WordPress Development with VVV, VV, and Vagrant

WordPress DevelopmentWith Vagrant, VVV, and Vagrant

Mitch Canter@thatmitchcanter • www.mitchcanter.com

Page 2: WordPress Development with VVV, VV, and Vagrant

HELLO!

Page 3: WordPress Development with VVV, VV, and Vagrant

#wcnashvvv

Page 4: WordPress Development with VVV, VV, and Vagrant

The Workflow

Page 5: WordPress Development with VVV, VV, and Vagrant

The Workflow

Page 6: WordPress Development with VVV, VV, and Vagrant
Page 7: WordPress Development with VVV, VV, and Vagrant

The IDEAL Workflow

Page 8: WordPress Development with VVV, VV, and Vagrant

• Separate Sites• Easy Addition of New Sites• Seamless File Editing• Similar to Production Environment

Page 9: WordPress Development with VVV, VV, and Vagrant
Page 10: WordPress Development with VVV, VV, and Vagrant

LightweightReproducible

Portable

Page 11: WordPress Development with VVV, VV, and Vagrant

• Install Vagrant - https://www.vagrantup.com/

• Install Virtualbox - https://www.virtualbox.com/

• Install Git - https://git-scm.com/

Page 12: WordPress Development with VVV, VV, and Vagrant

Next: A Vagrant “Box”

Page 13: WordPress Development with VVV, VV, and Vagrant

Required Technologies

Page 14: WordPress Development with VVV, VV, and Vagrant

Linux, nginx, mySQL, PHP-FPM

Page 15: WordPress Development with VVV, VV, and Vagrant

VVVVarying-Vagrant-Vagrants

https://github.com/Varying-Vagrant-Vagrants/VVV

Page 16: WordPress Development with VVV, VV, and Vagrant

Git-Clone The Boxgit clone https://github.com/Varying-

Vagrant-Vagrants/VVV.git ~/Sites

Page 17: WordPress Development with VVV, VV, and Vagrant

Essential Vagrant Plugins(Hosts Updater, Triggers, VBGuest)

vagrant plugin install vagrant-hostsupdater vagrant plugin install vagrant-triggers vagrant plugin install vagrant-vbguest

Page 18: WordPress Development with VVV, VV, and Vagrant

Initialize Vagrant:vagrant up

Page 19: WordPress Development with VVV, VV, and Vagrant

Quittin’ Time:vagrant halt

Page 20: WordPress Development with VVV, VV, and Vagrant

(Semi)Automation Tools

Page 21: WordPress Development with VVV, VV, and Vagrant

VVVariable VVV

https://github.com/bradp/vv

Page 22: WordPress Development with VVV, VV, and Vagrant

Optional (Mac): Homebrew /usr/bin/ruby -e "$(curl -fsSL

https://raw.githubusercontent.com/Homebrew/install/master/install)"

Page 23: WordPress Development with VVV, VV, and Vagrant

Mac: Install VV brew install bradp/vv/vv

Page 24: WordPress Development with VVV, VV, and Vagrant

Linux: Install VV git clone https://github.com/bradp/vv.git

sudo cp vv /usr/local/bin

Page 25: WordPress Development with VVV, VV, and Vagrant

Windows: Install VVhttps://github.com/bradp/vv#windows-installation

Page 26: WordPress Development with VVV, VV, and Vagrant

VV Commands

Page 27: WordPress Development with VVV, VV, and Vagrant

Site Creation vv create

Page 28: WordPress Development with VVV, VV, and Vagrant

Site Creation Advanced vv create –username <username> --password

<password> --email <email> --domain <domain.dev> --name <foldername>

Page 29: WordPress Development with VVV, VV, and Vagrant

Local At-A-Glance

Page 30: WordPress Development with VVV, VV, and Vagrant

VVV-DashboardVariable VVV

https://github.com/topdown/VVV-Dashboard

Page 31: WordPress Development with VVV, VV, and Vagrant

Demo Time

Page 32: WordPress Development with VVV, VV, and Vagrant

Questions?

Page 33: WordPress Development with VVV, VV, and Vagrant

Thanks!@thatmitchcanter • www.mitchcanter.com