Tuesday, 7 May 2013
Vagrant is a great tool to automate creating and configuring lightweight, reproducible, and portable development environments. If you are new to Vagrant you might want to take a look at official documentation first to get a basic gist who is it for and why to use it.
cdto working directory and clone the project:
git clone git://github.com/borivojevic/cakephp-vagrant.git
cdto working directory
vagrant upturn on virtual machine machine
ssh email@example.com -p 2222
Virtual machine IP: 188.8.131.52 System user: vagrant System password: vagrant MySQL user: root MySQL password: root Apache Virtual Host: dev.mirkoborivojevic.localhost
VirtualBox sometimes hangs on “Waiting for VM to boot. This can take a few minutes”. To fix this enable GUI mode in Vagrant configuration, login in VirtualBox and run “sudo dhclient”.