shopwareArchive / shopware-platform-vagrant

DEPRECATED: A Vagrant setup ready for shopware platform development
22 stars 14 forks source link

Show and edit Shopware files in Local #27

Open abdes-zakari opened 3 years ago

abdes-zakari commented 3 years ago

I have setup a shopware 6 project under Windows using "shopware-platform-vagrant" Repos.

I have tried:

config.vm.synced_folder "src/", "/home/vagrant/shopware-dev", create: true, type: "nfs"

When i use this command in Vagrantfile will mount the src folder(local) into /home/vagrant/shopware-dev and delete the shopware files.

How can i show and edit Shopware files in Local instead of connecting the IDE via Remote Host?

flohessling commented 3 years ago

It's kind of a struggle to get Vagrant to sync files properly between linux/unix and windows filesystems. This is why i recommend to use the virtual-machine vagrant creates in this setup like a remote web-server and connect your IDE to it.

Vagrant also does not support synched folders using "nfs" on Windows hosts. https://www.vagrantup.com/docs/synced-folders/nfs