-
Install VirtualBox
-
Install Vagrant
-
Prepare project:
$ git clone [git-repositry] $ cd /path/to/application/vagrant/config/ $ cp vagrant-local.example.yml vagrant-local.yml
-
Update
vagrant-local.yml
to suit your needs. -
Run commands from the project root directory:
$ cd /path/to/application/ $ vagrant plugin install vagrant-hostmanager $ vagrant plugin install vagrant-vbguest
-
Virtualbox Guest Additions has problems with some deprecated packages. To circumvent it, use the following script for the initial machine creation:
$ ./vagrant-install.sh
That's all. You just need to wait for completion!