Getting Started - Vagrant Documentation
With Vagrant,
The Vagrantfile is meant to be committed to version control with your project, if you use version control. This way, every person working with that project can benefit from Vagrant without any upfront work.
Read full article from Getting Started - Vagrant Documentation
$ vagrant init hashicorp/precise32
$ vagrant up
After running the above two commands, you'll have a fully running virtual machine inVirtualBox running Ubuntu 12.04 LTS 32-bit. You can SSH into this machine with
vagrant ssh
, and when you're done playing around, you can remove all traces of it with vagrant destroy
.With Vagrant,
vagrant up
is all you need to work on any project, to install every dependency that project needs, and to set up any networking and synced folders so you can continue working from the comfort of your own machine.The Vagrantfile is meant to be committed to version control with your project, if you use version control. This way, every person working with that project can benefit from Vagrant without any upfront work.
Read full article from Getting Started - Vagrant Documentation
No comments:
Post a Comment