Versions Compared

Key

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

It is important to have a local development environment that works for you. Having a reliable development environment will keep you up and running. It is your pen, your hammer, your sword. Some options are available below, feel free to choose the one that works for you. All of them require git command line installed.

Table of Contents

KalaBox

  1. http://support.kalabox.io/support/solutions/articles/14000006360-installing

DrupalVM

  1. Install Vagrant
    1. Version 1.8.x
  2. Install VirtualBox
    1. Version 4.x
      1. Vagrant doesn't work with VirtualBox 5
  3. Check out DrupalVM
    1. git clone git@github.com:geerlingguy/drupal-vm.git ~/.drupalvm
      cd ~/.drupalvm
  4. 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
  5. Check out the site source code
    1. mkdir -p ~/Sites
      git clone git@github.com:kalamuna/greenbiz.com.git ~/Sites/mysite
  6. Update ~/.drupalvm/config.yml to point local_path to ~/Sites/mysite
  7. Run the site
    1. cd ~/.drupalvm
      vagrant up
  8. 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
  9. Load the site at http://drupalvm.dev/ if you didn't configure the port in config.yml.

...

Lando

Visit the official documentation for installation instructions.

DDEV

Visit the official documentation for installation instructions.