Drupal VM
Generator
Drupal Bristol - April 2016
Oliver Davies - @opdavies
Slide 2
Slide 2 text
What is Drupal VM?
Con gurable Vagrant box for Drupal development
Provisioned with Ansible
Con gured using YAML
Built and maintained by Jeff Geerling
Slide 3
Slide 3 text
How do I use it?
Download it from GitHub
Copy and rename example.con g.yml and
example.drupal.make.yml
Change contents as needed
Start the VM
Slide 4
Slide 4 text
Down-sides
Time consuming
Redundant code
Slide 5
Slide 5 text
The Drupal VM Generator
CLI application
Generates les needed for Drupal VM based on interaction
Very fast
Only generates when you need
https://www.oliverdavies.uk/blog/announcing-the-drupal-
vm-con g-generator
Slide 6
Slide 6 text
No content
Slide 7
Slide 7 text
How do I get it?
# D
o
w
n
l
o
a
d t
h
e a
r
c
h
i
v
e
.
$ c
u
r
l -
s h
t
t
p
s
:
/
/
w
w
w
.
d
r
u
p
a
l
v
m
g
e
n
e
r
a
t
o
r
.
c
o
m
/
d
o
w
n
l
o
a
d -
L -
o d
r
u
p
a
l
v
m
.
p
h
a
r
# M
a
k
e i
t e
x
e
c
u
t
a
b
l
e
.
$ c
h
m
o
d +
x d
r
u
p
a
l
v
m
.
p
h
a
r
# M
o
v
e i
t s
o
m
e
w
h
e
r
e a
c
c
e
s
s
i
b
l
e
.
$ m
v d
r
u
p
a
l
v
m
.
p
h
a
r /
u
s
r
/
l
o
c
a
l
/
b
i
n
/
d
r
u
p
a
l
v
m
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
Generate con g.yml:
Generate drupal.make.yml:
Commands
$ d
r
u
p
a
l
v
m c
o
n
f
i
g
:
g
e
n
e
r
a
t
e
$ d
r
u
p
a
l
v
m m
a
k
e
:
g
e
n
e
r
a
t
e
Slide 10
Slide 10 text
Demo
Slide 11
Slide 11 text
Roadmap
Keep up to date with Drupal VM stable releases
New commands - downloading Drupal VM, updating
existing les, adding vhosts
User defaults and settings