Drupal VM Generator
Drupal Bristol - April 2016
Oliver Davies - @opdavies
## What is Drupal VM?
* Configurable Vagrant box for Drupal development
* Provisioned with Ansible
* Configured using YAML
* Built and maintained by Jeff Geerling
## How do I use it?
* Download it from GitHub
* Copy and rename example.config.yml and example.drupal.make.yml
* Change contents as needed
* Start the VM
## Down-sides
* Time consuming
* Redundant code
## The Drupal VM Generator
* https://www.oliverdavies.uk/blog/announcing-the-drupal-vm-generator
* CLI application
* Generates files needed for Drupal VM based on interaction
* Very fast
* Only generates when you need
How do I get it?
# Download the archive.
$ curl -s https://www.drupalvmgenerator.com/download -L -o drupalvm.phar
# Make it executable.
$ chmod +x drupalvm.phar
# Move it somewhere accessible.
$ mv drupalvm.phar /usr/local/bin/drupalvm
Commands
Generate config.yml:
$ drupalvm config:generate
Generate drupal.make.yml:
$ drupalvm make:generate
## Roadmap
* Keep up to date with Drupal VM stable releases
* New commands - downloading Drupal VM, updating existing files, adding vhosts
* User defaults and settings
## Resources
* https://www.oliverdavies.uk/blog/announcing-the-drupal-vm-generator/
* https://github.com/opdavies/drupal-vm-generator
* https://www.drupalvmgenerator.com