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. https://github.com/kalabox/kalabox#1-get-a-keycode-during-alpha

DrupalVM

  1. Install Vagrant 
  2. Install VirtualBox 4
  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.