A project template for quickly building local Drupal 8 compatible development environments.
-
Clone this repo into a local folder:
host$ git clone git://github.com/vgardner/drupal-vagrant.git host$ cd drupal-vagrant
-
Download a copy of Drupal into drupal-vagrant/dev
-
Configure settings file - default db settings are:
Username: root Password: root Db name: drupal
-
Add VM to hosts file:
192.168.56.101 drupal.dev
-
Access your VM via drupal.dev:8080
-
You can log into the VM via:
host$ vagrant up host$ vagrant ssh
-
You can copy a sql dump into drupal-vagrant/sql named drupal.sql and Vagrant will automatically import your db on vagrant up.