Skip to content

Instantly share code, notes, and snippets.

@sergixnet
Last active November 15, 2015 13:32
Show Gist options
  • Save sergixnet/900cabf46f6f73d167b0 to your computer and use it in GitHub Desktop.
Save sergixnet/900cabf46f6f73d167b0 to your computer and use it in GitHub Desktop.
Vagrant shared folders
You can add this to your VagrantFile for "shared folders:"
config.vm.synced_folder "/path/to/your/host/projectfolder/theme",
"/path/to/your/vagrant/wp-content/theme",
owner: 'www-data',
group: 'www-data',
mount_options: ["dmode=775", "fmode=664"]
http://docs.vagrantup.com/v2/synced-folders/basic_usage.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment