Skip to content

Latest commit

 

History

History
105 lines (74 loc) · 2.89 KB

README.md

File metadata and controls

105 lines (74 loc) · 2.89 KB

My Vagrant Development Box

Gitter Author Software License

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

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.