depends

imagine you are doing a nice php site

you can have a vagrant project that setup the VM and install php + other
components

and then, you could inside the VM git clone the site and use all the cool
features of a native linux Filesystem

if you don'tneed that, then the normal out of the box experience is put the
Vagrant file along your code, so when you do vagrant up the code will be
mounted in /vagrant in the guest


So for that, you do

git clone <repo> <path>
cd <path>
vagrant up

make sense?

On Mon, Sep 11, 2017 at 11:46 AM, Marko Blazekovic <[email protected]>
wrote:

> Hi people. Have a question about vagrant. Well dilemma. *:)* When doing
> some actions like "git commit" or some other composer stuff should I run it
> on my local machine or SSH to vagrant and always do everything there. What
> is the benefit of doing it on my local machine?
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/c8190b4e-4022-4462-8639-72f6c1edc7de%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/c8190b4e-4022-4462-8639-72f6c1edc7de%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew3C0YaayArsv%3D3zrYbNWLf_qzyrEWHYbZkfgRP3YEnRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to