Vagrant noob question: which config is right for us?

16 views
Skip to first unread message

Jerry

unread,
Aug 11, 2016, 2:55:22 AM8/11/16
to Vagrant
Hi,

We're working on a dev server that has Nginx / PHP / MySQL and all client projects.
Opening a project on a remote server does not make the IDE happy so I clone a git project locally and have the files copied to the dev server on save.
Some people are on Windows making a project with symlinks impossible to work with locally.

I imagine the Windows users only need a Vagrant box with a Linux OS and git client to store the files on so the IDE can read from there.
Is that correct?

Or would you recommend running Nginx/PHP and connecting to the remove MySQL from the Vagrant box as well?

Cheers!
Jerry

Alvaro Miranda Aguilera

unread,
Aug 11, 2016, 5:19:05 AM8/11/16
to vagra...@googlegroups.com
Hello,

For the symlinks, VMware work outs of the box very nice.

Virtualbox, you have to enable, just add this into your Vagrantfile for the project and *it should work*


config.vm.provider "virtualbox" do |v|
    v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
end

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/b2413d23-00a8-4695-a801-feeb1c0cc7f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Jerry

unread,
Aug 12, 2016, 3:29:18 AM8/12/16
to Vagrant
Excellent, thanks!

Reply all
Reply to author
Forward
0 new messages