A minimalistic developer environment built on vagrant
The project has been tested on
-
OS X 10.9 (Mavericks)
There is a tailor made base box built with packer.io for better performance or fewer headache. (Packer project can be found here)
- build-essentials, libs, dev libs
- virtual box guest addition 4.3.18
- git
- Ruby 1.9.3-p547
- gems
- bundler
- puppet
- libratian-puppet
- augeas
- mc
- vim
- sqlite
- wge
- curl
The box using ssh.agent.forwarding, and provisions ssh keys from user's home.
The work folder is ./src
The box allocates 4 CPU and 2GB RAM by default
Port forwards and locations:
- 80 -> 8080 (http)
- 443 -> 8443 (https)
- 1080 -> 1880 (mailcatcher)
- http://localhost/adminer
Simple shell provisioner that invokes librarian-puppet and puppet
Packages installed with puppet provisioner:
- Base packages
- keychain,nodejs,curl
- LAMP stack
- apache, php 5.5, mysql (vagrant:vagrant)
- PHP modules
- imagick, xdebug, curl, mysql, cli, intl, mcrypt, memcache, gd
- php.ini for development
- drush
- composer
- mailcatcher
- adminer
- zsim0n/dotfiles
Some Vagrant Plugins are in use for better experience
Installing vagrant plugin
$ vagrant plugin install [plugin name]
host $ git clone https://github.com/zsim0n/php-dev-box.git
host $ cd php-dev-box
host $ vagrant up
That's it.
Check the Vagrant documentation for more information on Vagrant.
Released under the MIT License, Copyright (c) 2014–ω Zoltan Simon.