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

WordPress Development with VVV, VV, and Vagrant

Embed Size (px)

Citation preview

WordPress DevelopmentWith Vagrant, VVV, and Vagrant

Mitch Canter@thatmitchcanter • www.mitchcanter.com

HELLO!

#wcnashvvv

The Workflow

The Workflow

The IDEAL Workflow

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

LightweightReproducible

Portable

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

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

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

Next: A Vagrant “Box”

Required Technologies

Linux, nginx, mySQL, PHP-FPM

VVVVarying-Vagrant-Vagrants

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

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

Vagrant-Vagrants/VVV.git ~/Sites

Essential Vagrant Plugins(Hosts Updater, Triggers, VBGuest)

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

Initialize Vagrant:vagrant up

Quittin’ Time:vagrant halt

(Semi)Automation Tools

VVVariable VVV

https://github.com/bradp/vv

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

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

Mac: Install VV brew install bradp/vv/vv

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

sudo cp vv /usr/local/bin

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

VV Commands

Site Creation vv create

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

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

Local At-A-Glance

VVV-DashboardVariable VVV

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

Demo Time

Questions?

Thanks!@thatmitchcanter • www.mitchcanter.com