2 ms·
There are many beautiful aspects of Vagrant. These are true whether you work solo or with a team. * If your machine is OS/X, but you deploy to Ubuntu then you
by jweir 13y ago
There are many beautiful aspects of Vagrant. These are true whether you work solo or with a team.
* If your machine is OS/X, but you deploy to Ubuntu then you aren't developing in a realistic environment. Using Vagrant you get to work with OS/X tools, but run your app on an Ubuntu(or whatever) OS. I use NFS file share, edit on the Mac, run in the VM.
* Keeps your machine clean. If you work on multiple projects, perhaps running different versions of Node, Ruby, MySQL, Reis, PostGres, etc, you keep them isolated to their VM.
* You can experiment. Want to try your app out in Arch, a different version of Ubuntu, etc? Spin up a new VM or clone an existing VM.
* Have a new machine? Copy over your VMs and start working right away.
* The environment it setup as a script. Have a new developer for your application? Just send them the scripts to spin up a new VM. I use Bash scripts to configure my VM's, or you can use Chef or Puppet.