Virtual Machine for Drupal development, built with re-usable Ansible roles.
- VirtualBox
- Vagrant
- vagrant-triggers
- vagrant-hostmanager (optional)
- Ansible 1.8+
- Clone this repository
git clone https://github.com/pbuyle/vagrant-ansible-drupal.git cd vagrant-ansible-drupal
- Copy
parameters.yml.dist
toparameters.yml
(optional) - Create a
www
folder with your Drupal docroot (usage of a symlink is recommanded) - Start the Vagrant VM
vagrant up
- If not using vagrant-hostmanager, edit you hosts file to add
192.168.9.10 drupal.dev
- SSH into the Vagrant VM
vagrant ssh
- Install your Drupal site
drush site-install --db-url=mysqli://drupal:drupal@localhost/drupal
- Open http://drupal.dev
- ?
- Profit
- MariaDB and PostgreSQL support
- Memcached support
- Redis support
- NodeJS runtime
- Bower
- Grunt/Gulp
- Ruby (rbenv) support
Apache v2
Pierre Buyle [email protected]