Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install Vagrant
    1. Version 1.8.x
  2. Install VirtualBox
  3. Version 4.x
    1. Vagrant doesn't work with VirtualBox 5
  4. Check out DrupalVM
    1. git clone git@github.com:geerlingguy/drupal-vm.git ~/.drupalvm
      cd ~/.drupalvm
  5. Update the configuration
    1. Copy example.drupal.make.yml to drupal.make.yml
    2. Copy example.config.yml to config.yml
    3. Change configuration in config.yml
  6. Check out the site source code
    1. mkdir -p ~/Sites
      git clone git@github.com:kalamuna/greenbiz.com.git ~/Sites/mysite
  7. Update ~/.drupalvm/config.yml to point local_path to ~/Sites/mysite
  8. Run the site
    1. cd ~/.drupalvm
      vagrant up
  9. Import the Database from Pantheon
    1. Visit the Pantheon Dashboard
    2. Download a database backup from Pantheon
    3. Import it
      1. gunzip -c mysql-backup.sql.gz | drush @drupalvm.drupalvm.dev sql-cli
    4. TODO: Update this to sql-sync
  10. Load the site at http://drupalvm.dev/ if you didn't configure the port in config.yml.

...