Skip to content
Bryan Hazelbaker edited this page Nov 21, 2013 · 12 revisions

Vagrant Drupal 7

Drupal 7 specific vagrant configured VirtualBox to test out Drupal 7. The single command line installation script will take care of everything, and when finished http://local.drupal.org should be accessible for review. Makes use of the submodule Vagrant which contains all the actual vagrant configuration and puppet scripts.

Prerequisites

  1. Download and install install VirtualBox for Windows or Mac.
  2. Download and install vagrant for Windows or Mac
  3. If you are using Windows please download and install Cygwin. See Cygwin Setup for help. Make sure to install ssh and git packages.

Installation

Copy and paste this into your shell to install everything:

curl -L -s http://goo.gl/0M4EKK | bash

Installation script will:

  • Create a virtual box on 33.33.33.67
  • Modify hosts file mapping local.drupal.org to 33.33.33.67
  • Create the drupal database.
  • Install drupal.
  • Install and enable modules: devel, module_filter, admin_menu.
  • Disable modules: overlay, toolbar.

Usage

After installation script is finished open a browser and navigate to http://local.drupal.org (If Chrome is present on Mac OSX the script will attempt to automatically open the browser)

Drupal 7 Example References

Help and Support

Feel free to contact me bryan.hazelbaker@gmail.com with any questions. Submit all bug reports or feature requests to the Issue Queue. Please see the Wiki for more information.