Difference between revisions of "Drupal VM"

From Stadm
Jump to navigationJump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
Vagrant is a tool for managing development environments in a virtual machine with a focus on automation. We will be using Vagrant to install a Drupal 8 VM and using Ansible to provision the VM (run scripts and do other cool things).
+
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==
 
==Purpose==
The purpose of this page is to document progress of installing a Drupal VM using Vagrant and Ansible. I have been following geerlingguy's drupal-vm guide:
+
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:
 
*https://github.com/geerlingguy/drupal-vm
 
*https://github.com/geerlingguy/drupal-vm
 
*[http://docs.drupalvm.com/en/latest/ Drupal VM Install Guide]
 
*[http://docs.drupalvm.com/en/latest/ Drupal VM Install Guide]
 +
 +
  
 
Other helpful links:
 
Other helpful links:
Line 11: Line 13:
  
 
==Installation Procedures==
 
==Installation Procedures==
Refer to the [https://github.com/geerlingguy/drupal-vm#quick-start-guide Quick Start Guide].
+
*Refer to the [https://github.com/geerlingguy/drupal-vm#quick-start-guide Quick Start Guide].
 +
*Install Ansible on the host machine (thorin) for faster provisioning in the vm
 +
**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.
 +
 
 +
 
 +
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==
 
==Drupal VM Basic Information==
*Running under thorin (128.111.101.138).
+
*Drupalvm is running in a VirtualBox VM under thorin (128.111.101.138). It can be accessed by going to [http://drupalvm.dev] on thorin.
 
*Default login:  
 
*Default login:  
 
  admin:admin
 
  admin:admin
*Running Drupal 8.0.
+
*Running Drupal 7.x.
  
 +
==Installed modules==
  
<!--
 
==save==
 
http://pig.made-it.com/samba-ldap-member.html
 
http://doub.home.xs4all.nl/samba-ldap/index.html
 
http://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#sdcsdmldap
 
http://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#ch9-sdmnss
 
https://wiki.samba.org/index.php/Samba4/Domain_Member
 
http://directory.fedoraproject.org/wiki/Howto:Samba
 
http://ptgmedia.pearsoncmg.com/images/013188221X/downloads/013188221X_book.pdf
 
-->
 
 
=References=
 
=References=
 
*https://www.vagrantup.com/docs/provisioning/ansible_intro.html
 
*https://www.vagrantup.com/docs/provisioning/ansible_intro.html
 
*http://docs.ansible.com/ansible/guide_vagrant.html
 
*http://docs.ansible.com/ansible/guide_vagrant.html
 
*https://github.com/geerlingguy/drupal-vm
 
*https://github.com/geerlingguy/drupal-vm

Latest revision as of 13:25, 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.


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.

Installed modules

References