johnrobertwilson / drupal-vagrant

Drupal 8 Vagrant settings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drupal Vagrant

A project template for quickly building local Drupal 8 compatible development environments.

Requirements

Basic Usage

  1. Clone this repo into a local folder:

     host$ git clone git://github.com/vgardner/drupal-vagrant.git
     host$ cd drupal-vagrant
    
  2. Download a copy of Drupal into drupal-vagrant/dev

  3. Configure settings file - default db settings are:

     Username: root
     Password: root
     Db name: drupal
    
  4. Add VM to hosts file:

     192.168.56.101 drupal.dev
    
  5. Access your VM via drupal.dev:8080

  6. You can log into the VM via:

     host$ vagrant up
     host$ vagrant ssh
    
  7. You can copy a sql dump into drupal-vagrant/sql named drupal.sql and Vagrant will automatically import your db on vagrant up.

About

Drupal 8 Vagrant settings.