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"
- Phalcon Full Skeleton Edition on http://phalcon-module.local/
- Angular Skeleton on http://angular-skeleton.local/
- 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
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
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
To stop and reinstall machine please run
vagrant halt && vagrant destroy -f && vagrant up
This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.