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.

Notifications You must be signed in to change notification settings

kevinquillen/generator-drupalvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages