Awesome
My Vagrant Development Box
<img src="http://dmtry.me/img/logos/my-perfect-php-machine.jpg">Start your development on virtual machine by Vagrant technology
Software:
- PHP 5.6 (+default+json+memcache+fpm+curl)
- Nginx (Web server)
- Zephir Language (Compiled high level language aimed to the creation of C-extensions for PHP)
- Phalcon 2 (Framework for PHP on Zephir)
- Lynx (ORM/DBAL for PHP on Zephir)
- Composer (Dependency Manager for PHP)
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
- Phalcon Full Skeleton Edition on http://phalcon-module.local/
- Angular Skeleton on http://angular-skeleton.local/
Getting Started
- Download and install VirtualBox
- Download and install Vagrant
- 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.