Skip to content

A Yeoman generator for generating a Drupal VM stack based on drupalvm.com, configured for either Windows or OSX/Linux. Can be used on a new or existing project to quickly generate a DrupalVM config for Vagrant.

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 

DrupalVM Generator

This is a Yeoman generator for quickly spawning configured VMs or new projects using DrupalVM by Jeff Geerling.

Getting started

This generator can either jump start a new Drupal project with a Vagrant build for you, or add a Vagrant build to an existing project.

First, you must have npm and yeoman installed. Follow the docs on the npm site to install Node and NPM.

Install Yeoman with NPM:

npm install -g yo

Grab this generator with the following command:

npm install -g generator-drupalvm

Either create or navigate to your project directory, and run the following command to start the generator:

yo drupalvm

The generator assumes your Drupal application root sits at projectname/docroot.

After running the generator, the Vagrant configuration will live in projectname/tools/drupalvm - at which point you can navigate to that directory and run:

vagrant up

From here, commit the tools directory to provide the configuration to other people involved on the project. It is intended to provide immediate configuration and unified development environment for project participants, whether they be on Windows, OSX or Linux.

Recommended Vagrant Plugins

Before running Vagrant, you might want to install these extra plugins:

About

A Yeoman generator for generating a Drupal VM stack based on drupalvm.com, configured for either Windows or OSX/Linux. Can be used on a new or existing project to quickly generate a DrupalVM config for Vagrant.

Resources

Releases

No releases published

Packages

No packages published