Drupal VM
Contents
Introduction
This article documents the progress on building a Drupal 8 VM for development purposes on thorin (128.111.101.138). We will be using Vagrant to install a Drupal 8 VM and using Ansible to provision the VM.
Purpose
The purpose of this page is to document progress of installing a Drupal VM using Vagrant and Ansible, emphasis on Drupal 8 installation with Composer as opposed to drush make, as well as looking into theming the installation. I have been following geerlingguy's drupal-vm guide:
Other helpful links:
Installation Procedures
- Refer to the Quick Start Guide.
- Install Ansible on the host machine (thorin) for faster provisioning in the vm
Install options:
We can install Drupal 8 with composer with 2 different ways:
- composer create-project
which allows you to specify parameters to build up your Drupal installation; or build from a custom
- composer.json.
For the first run, we choose the first option. However, for subsequent installations, we can reuse the composer.json config file from the previous installation to spin up an identical VM.
Drupal VM Basic Information
- Drupalvm is running in a VirtualBox VM under thorin (128.111.101.138). It can be accessed by going to [1] on thorin.
- Default login:
admin:admin
- Running Drupal 7.x.