Home

Awesome

My Vagrant Development Box

Gitter Author Software License

Start your development on virtual machine by Vagrant technology

<img src="http://dmtry.me/img/logos/my-perfect-php-machine.jpg">

Software:

Frontend (global env):

Default vm parameters:

name: phalcon2-dev
hostname: vm.local
box: ubuntu/trusty64
provider: virtualbox
gui: false
ram: 512
cpus: 1
ip: 10.10.10.150
projects-folder: "~/projects"

Pre-installed projects

Getting Started

  1. Download and install VirtualBox
  2. Download and install Vagrant
  3. Install project

Don't forget to install vagrant host manager plugin:

vagrant plugin install vagrant-hostmanager

and vagrant cachier (to cache shared packages installation):

vagrant plugin install vagrant-cachier

Installation

git clone https://github.com/ovr/perfect-php-vagrant.git
cd perfect-php-vagrant
nano config.yaml
vagrant up

Weight when installation will be finished and open http://servername/ to see info about server

Troubleshooting

If after vagrant up you are getting something like it:

...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...

You need to diagnose an error by setuping GUI to true in config.yaml

  gui: true

Vagrant

To stop and reinstall machine please run

vagrant halt && vagrant destroy -f && vagrant up

License

This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.