Installing VDD on Windows 10

Installing VDD on Windows 10

Vagrant Drupal Development (VDD) is fully configured and ready to use development environment built with VirtualBox, Vagrant, Linux and Chef Solo provisioner. VDD is virtualized environment, so your base system will not be changed and remain clean after installation. You can create as many environments as you wish without any consequences.

The main goal of the project is to provide easy to use fully functional, highly customizable and extendable Linux based environment for Drupal development.

Setup is very simple, fast and can be performed on Windows, Linux or Mac platforms. It's simple to clone an existing environment to your Laptop or home computer and then keep it synchronized.

Presentation on Vimeo
VDD video presentation on Vimeo.

Features

  • Apache, PHP, MySQL
  • PhpMyAdmin
  • Drush (with automatic aliases)
  • Xdebug, Webgrind (configured and ready to use)
  • Mailcatcher

Handbook

Recently I had to install the Vagrant Drupal Environment on a Window's 10 platform. I found many errors which impeded a normally quick install, that relate to many of the new upgrades in ruby, php, and mailcatcher chef entries. This caused a day of frustration, which I think will be resolved hopefully in the next few months. Here is what I found to accomplish a clean install on the Window's 10 platform.

Versions used in build.

Vagrant Drupal Development Build 8.x-1.0-dev

VirtualBox 5.0.20 x86/AMD64 windows hosts release with associated extension pack.

Vagrant 1.8.1

Patches installed and file modifications:

Following the VDD normal build process locate here,  I ran into several issues which indeed listed on the bug report for VDD.

  1. Ruby version >=2 Required, solved by installing the ruby2.2-2745239-4.patch by Eric Jenkins which was recommended and did indeed upgrade to ruby 2.2.
  2. Drush "master"version is incompatible with PHP 5.5. There is a patch available, but found this not to work. I therefor modified the chef -> shell -> initial.sh file with the following final changes:

intial.sh file

#!/bin/bash

VAGRANT_DIR="/vagrant"

# Branding...
cat "$VAGRANT_DIR/chef/shell/vdd.txt"

# Upgrade Chef.
echo "Updating Chef to 11.12.4 version. This may take a few minutes..."
add-apt-repository ppa:ondrej/php5-5.6 -y &> /dev/null
apt-get update -y &> /dev/null
apt-get install python-software-properties -y &> /dev/null
apt-get update &> /dev/null
apt-add-repository -y ppa:brightbox/ruby-ng
apt-get update &> /dev/null
echo "sources updated"
echo "installing ruby and chef"
apt-get install build-essential ruby2.2 ruby2.2-dev --no-upgrade --yes
apt-get update &> /dev/null
update-ca-certificates
gem install chef --version="11.12.4" --no-rdoc --no-ri --conservative
echo "installed ruby and chef"

After install and provisioning, everything came up without a problem. All services are properly working and accessible.