Difference between revisions of "Drupal VM"
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Introduction== | ==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== | ==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== | |
− | == | + | *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: | |
− | http:// | + | admin:admin |
− | + | *Running Drupal 7.x. | |
− | + | ||
− | + | ==Installed modules== | |
− | |||
− | |||
=References= | =References= | ||
− | * | + | *https://www.vagrantup.com/docs/provisioning/ansible_intro.html |
− | + | *http://docs.ansible.com/ansible/guide_vagrant.html | |
− | *http:// | + | *https://github.com/geerlingguy/drupal-vm |
− | |||
− | |||
− | |||
− | |||
− | |||
− | *https:// | ||
− |
Latest revision as of 13:25, 11 July 2017
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.