An open API service indexing awesome lists of open source software.

https://github.com/k-phoen/vagrant-dev-box

Vagrant and Puppet powered development box (for PHP and nodejs projects)
https://github.com/k-phoen/vagrant-dev-box

Last synced: 6 months ago
JSON representation

Vagrant and Puppet powered development box (for PHP and nodejs projects)

Awesome Lists containing this project

README

          

# Set up a development box super fast

## Installation

* Install vagrant using the installation instructions in the [Getting Started document](http://vagrantup.com/v1/docs/getting-started/index.html)
* Clone this repository: ```git clone --recursive https://github.com/K-Phoen/vagrant-dev-box.git```
* After running ```vagrant up``` the box is set up using Puppet

## Default configurations

### PHP projects

* [Apache](http://httpd.apache.org/) using [puppetlabs-apache](https://github.com/puppetlabs/puppetlabs-apache) module
* [php 5.5](http://php.net) using [dotdeb](http://www.dotdeb.org)
* [capifony](http://capifony.org/)
* and more (git, zsh, vim, etc.)

### nodejs projects

* [nodejs](http://nodejs.org/) using [puppet-nodejs](https://github.com/willdurand/puppet-nodejs)
* npm

### go projects

* [go](http://golang.org/) using [dcoxall-golang](https://github.com/dcoxall/dcoxall-golang)

## Available databases

* [MySQL](http://dev.mysql.com/downloads/mysql/) using [puppetlabs-mysql](https://github.com/puppetlabs/puppetlabs-mysql)
* [PostgreSQL](http://www.postgresql.org/) using [puppetlabs-postgresql](https://github.com/puppetlabs/puppet-postgresql)
* [MongoDB](http://www.mongodb.org/) using [puppetlabs-mongodb](https://github.com/puppetlabs/puppetlabs-mongodb)

## Using the box

The Apache web server is accessible through 127.0.0.1:8080.
The recipes are split so that this setup can be easily used for different
projects and different users. Just edit the `puppet/manifests/project.pp`
and `puppet/manifests/user.pp` to fit your needs.

Don't forget to edit project specific information in the
`puppet/manifests/params.pp` file (database type, database credentials, apache
virtualhost).