zsim0n / dev-box-ng

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dev-box-ng

A minimalistic developer environment built on vagrant

Prerequisites

The project has been tested on

Base box

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

Provisioning

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:

Bootstrap.sh

Simple shell provisioner that invokes librarian-puppet and puppet

init.pp

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

Vagrant Plugins

Some Vagrant Plugins are in use for better experience

Installing vagrant plugin

   $ vagrant plugin install [plugin name]

How To Use

host $ git clone https://github.com/zsim0n/php-dev-box.git
host $ cd php-dev-box
host $ vagrant up

That's it.

Vagrant

Check the Vagrant documentation for more information on Vagrant.

License

Released under the MIT License, Copyright (c) 2014–ω Zoltan Simon.

About


Languages

Language:Puppet 83.2%Language:Ruby 8.5%Language:HTML 4.5%Language:Shell 3.8%