Drupal VM - Quick Introduction Video

After months of having this on my todo list, I've finally had the time to record a quick introduction video for Drupal VM. Watch the video below, then a transcript below the video:

Drupal VM is a local development environment for Drupal that's built with Vagrant and Ansible. It helps you build and maintain Drupal sites using best practices and the best tools. In this quick overview, I'll show you where you can learn more about Drupal VM, then show you a simple Drupal VM setup.

The Drupal VM website gives a general overview of the project and links to:

I'm going to build Drupal VM on my Mac using the Quick Start Guide.

First, download Vagrant using the link in the Quick Start Guide and install it on your computer. Vagrant will install the only other required application, VirtualBox, the first time you run it. (If you're on a Mac or Linux PC, you should also install Ansible for the best experience.)

Next, go back to the Drupal VM website, then download Drupal VM using the download link.

  • Copy the example.drupal.make.yml file to drupal.make.yml.
  • Then copy example.config.yml to config.yml, and make changes to suit your environment.

I removed some of the tools inside the installed_extras section since I don't need them for this demonstration.

Open your Terminal, and change directories into the Drupal VM directory using the cd command.

cd ~/Downloads/drupal-vm-master

Type in vagrant up, and after a few minutes, Drupal VM will be set up and ready for you to use.

Once the VM is built, visit http://dashboard.drupalvm.dev/ to see an overview of all the sites and software on your VM. Visit http://drupalvm.dev/ to see the Drupal 8 site that was automatically created.

At this point, after I'm finished working on my project, I can shut down the VM using vagrant halt, restart it with vagrant reload, or delete it and start over from scratch with vagrant destroy.

I'll be posting other videos demonstrating Drupal VM on Windows, Drupal VM with PHP 7, and how to use Drupal VM with existing Drupal sites, or multisite Drupal installs!

For more information about Drupal VM, visit the Drupal VM website at http://www.drupalvm.com/.


How to add new virtualhost/other drupal site instance?