-
Notifications
You must be signed in to change notification settings - Fork 38
Symlinking project folders in public/ #27
Comments
I'm trying to get the same thing working, no luck yet :( Tried both on OSX Yosemite and Ubuntu 14.10 |
It looks like the
in the Vagrantfile to use |
Did you have any success? Care to share your possible solution? :) |
Not yet! Will see if I can have a go at it tonight :) |
Have tried various options in an attempt to get rsync to sync a symlinked folder's contents to the guest, but I've not been able to get it to follow a symlink in such a manner. config.vm.synced_folder "public/", "/var/www/", group: 'www-data', :owner => "vagrant", type: "rsync", rsync__args: ["--verbose", "-rLKptgod", "-z"] |
Try to create a folder with .dashboard, run provisioner and replace the folder with a symlink. |
@phpid Not working for me, as soon as I symlink and provision the project is no longer detected and thrown out upon provisioning :( |
|
Unfortunatelly that always results in a 403, no matter how generous I set the file permissions. |
It will NOT detect linked directories. Current implementation of the provisioner is looking for physical folders. You can either replace a folder by a link after provision or patch the provisioner to include linked folders. |
Thanks @phpid, which synced/shared method should we use for this? (MacOS) |
It really depends on a size of your project. I tried shared folders, NFS and Parallels provider due to a size of my project - 40K files and 12K directories. It does not matter for a small project. Otherwise, Parallels or VMWare will be the best choice. |
I've tried symlinking a project folder from ~/Dev/myblog to public/myblog/ but it's not getting added during provisioning. I have .dashbrew and index.php files at the symlink's target. Are symlinked project folders supported by dashbrew?
OSX Yosemite 10.10.2
The text was updated successfully, but these errors were encountered: