23
Getting Started with Vagrant Micah Wood @wpscholar http://micahwood.me

Getting Started with Vagrant

Embed Size (px)

DESCRIPTION

Learn how Vagrant, a tool for creating portable development environments, can help you: - Easily setup a local development environment - Match your local development environment to production and avoid surprises during deployment. - Share development environments with team members and get new team members up and running in record time. - Easily deploy code by using providers and provisioners. Presentation given at WordCamp Asheville 2014: http://2014.asheville.wordcamp.org/session/getting-started-with-vagrant/ NOTE: This slide deck isn't going to be extremely helpful on its own. Please view the associated blog post for more context: http://wpscholar.com/presentations/getting-started-with-vagrant/

Citation preview

Page 1: Getting Started with Vagrant

Getting Started with Vagrant

Micah Wood

@wpscholar http://micahwood.me

Page 2: Getting Started with Vagrant

What is Vagrant?

Page 3: Getting Started with Vagrant

A tool for creating and sharing work

environments.

Page 4: Getting Started with Vagrant

Create and destroyvirtual machines

Page 5: Getting Started with Vagrant

Automatically provision

virtual machines

Page 6: Getting Started with Vagrant

Networkvirtual machines

Page 7: Getting Started with Vagrant

Package and distribute

virtual machines

Page 8: Getting Started with Vagrant

Why use Vagrant?

Page 9: Getting Started with Vagrant

LocalDevelopment

Page 10: Getting Started with Vagrant

Consistent Environment

Page 11: Getting Started with Vagrant

Portability

Page 12: Getting Started with Vagrant

Easily TestScripts

Page 13: Getting Started with Vagrant

How do I use Vagrant?

Page 14: Getting Started with Vagrant

https://www.virtualbox.org/ http://www.vagrantup.com/

Page 15: Getting Started with Vagrant

Create Vagrantfile

$ vagrant init <name> <url>

Page 16: Getting Started with Vagrant

Start Virtual Machine

$ vagrant up

Page 17: Getting Started with Vagrant
Page 18: Getting Started with Vagrant

PuPHPethttps://puphpet.com

Page 19: Getting Started with Vagrant

Varying Vagrant Vagrants

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

Page 20: Getting Started with Vagrant
Page 21: Getting Started with Vagrant

vvv-hostsvvv-init.sh

vvv-nginx.conf

https://github.com/varying-vagrant-vagrants/vvv/wiki/Auto-site-Setup

Page 22: Getting Started with Vagrant

VVV Site Wizardhttps://github.com/aliso/vvv-site-wizard

Page 23: Getting Started with Vagrant

Questions?