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