This project provides Ansible provisinioning for easy/quick installation and configuration of a LAMP stack which supports Drupal 8. This ansible playbook has been generated via Phansible and tweaked.
You will need a working installation of Vagrant and Ansible on your machine.
- Ubuntu Trusty Thar 14.04
- 512Mb RAM
- NGinX based
- PHP 5.6 with a few required extensions
- MySQL database
- Drupal console
- Drush
- Composer
Clone this repository to your local machine (we assume you have a dedicated workspace folder at ~/Workspace refer to Vagrantfile to change this to a destination of your choice.)
Install Drupal first:
cd ~/Workspace
drush dl drupalChange the pointer in the Vagrantfile to the folder where Drupal was installed:
config.vm.synced_folder "~/Workspace/drupal8", "/vagrant", type: "nfs"
Next, you should create a sites/default/files folder and copy example.settings.php to
a new settings.php file. Make sure both are rewritable.
cd ~/Workspace
git clone https://github.com/netsensei/ansible-drupal ~/Workspace
cd ~/Workspace/ansible-drupal
vagrant upOut of the box, NGinX listens on IP address 192.168.88.88. Alternatively, you could create an entry in your /etc/hosts file that points to drupal.app.
Open up your browser and navigate to either the IP address or the local domain. First time, you should be welcomed by the Drupal installer.
Database details:
- User: Drupal
- Password: Drupal
- Database: Drupal
If you run into mounting shared folders issues on El Caption, here are some pointers:
- Make sure you run Virtualbox 4.3. I've run into trouble with 5.x versions.
- Make sure you've installed the VBox 4.3 guest additions.
- Reboot your Mac entirely.
- Destroy the entire vagrant box and build it again.
If you discover any security related, please email matthias@colada.be instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.