Difference between revisions of "Drupal VM"

From Stadm
Jump to navigationJump to search
Line 16: Line 16:
 
*Install Ansible on the host machine (thorin) for faster provisioning in the vm
 
*Install Ansible on the host machine (thorin) for faster provisioning in the vm
 
**https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/drupal
 
**https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/drupal
 +
===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
 +
file.
 +
 +
We opt for the second option. Although our composer.json file is blank, this option allows us to customize our install more easily.
  
 
==Drupal VM Basic Information==
 
==Drupal VM Basic Information==

Revision as of 12:36, 11 July 2017

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

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

file.

We opt for the second option. Although our composer.json file is blank, this option allows us to customize our install more easily.

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.

Installed modules

References