Top Banner
Hello, Drupaldelphia!
30

Drupaldelphia 2014 - Standardize Environments with Vagrant

Apr 22, 2015

Download

Technology

karschsp

Slides from Drupaldelphia 2014 - Standardize Environments with Vagrant
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: Drupaldelphia 2014 - Standardize Environments with Vagrant

Hello, Drupaldelphia!

Page 2: Drupaldelphia 2014 - Standardize Environments with Vagrant

My name is Steve.

Page 3: Drupaldelphia 2014 - Standardize Environments with Vagrant

I

Page 4: Drupaldelphia 2014 - Standardize Environments with Vagrant

but

Page 5: Drupaldelphia 2014 - Standardize Environments with Vagrant
Page 6: Drupaldelphia 2014 - Standardize Environments with Vagrant

A little background

Page 7: Drupaldelphia 2014 - Standardize Environments with Vagrant
Page 8: Drupaldelphia 2014 - Standardize Environments with Vagrant

1999: Caveperson version-control

index.html.19991014.steve

Page 9: Drupaldelphia 2014 - Standardize Environments with Vagrant

2002: SVN

index.html

Page 10: Drupaldelphia 2014 - Standardize Environments with Vagrant

2008: Git

Git glorious git

Page 11: Drupaldelphia 2014 - Standardize Environments with Vagrant

2011: Vagrant

Uh, what the WHAT?

Page 12: Drupaldelphia 2014 - Standardize Environments with Vagrant

If you ever feel like you’re doing it wrong, that means that you’re

doing it right.

Page 13: Drupaldelphia 2014 - Standardize Environments with Vagrant

If you NEVER feel like you’re doing it wrong, that means you’re

doing it wrong.

Page 14: Drupaldelphia 2014 - Standardize Environments with Vagrant

If you shoot for the stars, you may just land on the moon.

Page 15: Drupaldelphia 2014 - Standardize Environments with Vagrant

Scenarios

Page 16: Drupaldelphia 2014 - Standardize Environments with Vagrant

It works on MY machine

Page 17: Drupaldelphia 2014 - Standardize Environments with Vagrant

No, it REALLY works on MY machine

Page 18: Drupaldelphia 2014 - Standardize Environments with Vagrant

Enter Vagrant

Page 19: Drupaldelphia 2014 - Standardize Environments with Vagrant

So what is Vagrant?

Page 20: Drupaldelphia 2014 - Standardize Environments with Vagrant

Vagrant is free and open-source software for creating and configuring virtual development environments.[1] It can be considered a wrapper around

virtualization software such as VirtualBox and configuration management software such as Chef, Salt and Puppet. - Wikipedia

Page 21: Drupaldelphia 2014 - Standardize Environments with Vagrant

Development environments made easy.

Page 22: Drupaldelphia 2014 - Standardize Environments with Vagrant

Concepts:• Base boxes • Provisioning

Page 23: Drupaldelphia 2014 - Standardize Environments with Vagrant

Base boxes are to development environments

as out-of-the-box Drupal is to websites.

Page 24: Drupaldelphia 2014 - Standardize Environments with Vagrant

Provisioning is to development environments as Drupal install profiles are

to websites.

Page 25: Drupaldelphia 2014 - Standardize Environments with Vagrant

So, think of Vagrant as an install profile for your local

environment.

Page 26: Drupaldelphia 2014 - Standardize Environments with Vagrant

Installation steps:

1. Download & Install Vagrant from http://www.vagrantup.com/downloads.html

2. Download & Install VirtualBox fromhttps://www.virtualbox.org/wiki/Downloads

Page 27: Drupaldelphia 2014 - Standardize Environments with Vagrant

Hop into Terminal (or iTerm 2)

Page 28: Drupaldelphia 2014 - Standardize Environments with Vagrant

Resources Base boxes

• http://vagrantbox.es • http://puppet-vagrant-boxes.puppetlabs.com/

Repos

• https://github.com/Lullabot/rome • https://github.com/zivtech/vagrant-development-vm • https://github.com/karschsp/vagrant-lamp

Tools

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

Page 29: Drupaldelphia 2014 - Standardize Environments with Vagrant

We’re Hiring!