Drupal VM Config
This Vagrant plugin makes it easy to manage multiple Drupal sites on a single Vagrant instance. It is used to generate a config.yml file for Drupal VM. See Drupal VM Documentation for additional documentation.
Setup
vagrant plugin install drupal-vm-sitestouch sites.ymlAdd Drupal websites to
sites.ymlsite1: url: site1.com site2: url: site2.edu path: ~/path/to/site site3: url: site3.us.gov path: ~/some/other/pathNote: path defaults to
~/Sites/site.com/wwwif not specifiedvagrant up
You now have a functional Drupal vagrant install for your sites! Now you can configure Drupal.
Configure Drupal
New Database?
A new database was created during Vagrant provision so you're all set.
- dbname:
sitename - user:
root - pass:
root
Existing Database?
Export database from the base site and then use Drush:
drush @skycatchfire.dev sql-drop
drush @skycatchfire.dev sql-cli < ~/my-sql-dump-file-name.sql