On Friday, April 25, 2014 at 4:48:06 PM UTC+5:30, Ian Anderson Gray wrote: > > Hi. > For some reason my last didn't post, so trying again... > I'm very new to Vagrant and I am no sys admin. I'm hoping to use it to > develop WordPress sites. I am currently using Chris Wiegman's Primary > Vagrant <https://github.com/ChrisWiegman/Primary-Vagrant> which is > working very well. Except when I start to add the files for my theme it > starts to run VERY slowly. After a bit of research it might have something > to do with synched files as that can slow things down. > > My host OS is Windows 8 64 bit > My guest OS is Ubuntu > > After Googling I found out that the latest Vagrant versions offer a work > around with rsync. This blog post > <https://www.vagrantup.com/blog/feature-preview-vagrant-1-5-rsync.html> > states: > > > *As long as rsync is installed in both the host and the guest, this will > just work. Since rsync is a standard utility for Mac and most Linux > distributions, this just works most of the time! For Windows users, > msysgit, MinGW, and Cygwin all provide rsync.* > That leaves me scratching my head- what do I need to do to get this > working? Currently I am using the command line shell from GitHub (uses > Powershell) and I'd prefer to continue using that. I've installed Git for > Windows and Cygwin but they require me to use different command line > environments. As you can probably tell I don't really understand- but I > want to get this sorted. > > Once I've got that sorted, I assume I just need to add type: "rsync", > rsync__exclude: ".git/" to the synced folder lines in my Vagrant file: > > config.vm.synced_folder "sites/stable.wordpress.vagrant", > "/var/www/stable.wordpress.vagrant", :owner => "www-data", :mount_options > => [ "dmode=775", "fmode=774" ], type: "rsync", rsync__exclude: ".git/" > config.vm.synced_folder "sites/stable.wordpress.vagrant/uploads", > "/var/www/stable.wordpress.vagrant/wordpress/wp-content/uploads", :owner => > "www-data", :mount_options => [ "dmode=775", "fmode=774" ], type: "rsync", > rsync__exclude: ".git/" > config.vm.synced_folder "sites/trunk.wordpress.vagrant", > "/var/www/trunk.wordpress.vagrant", :owner => "www-data", :mount_options => > [ "dmode=775", "fmode=774" ], type: "rsync", rsync__exclude: ".git/" > > Is that correct? > > I love Vagrant, but it does require a lot of technical knowledge- > particularly for those of us who don't have a lot of server experience. Has > anyone got any experience in getting rsync working on Windows? > > Thanks! > > >
-- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8846ef86-b28f-44e7-9c57-12b88d0d6b19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.