README.md
Description
===========
This cookbook's goal is to provide the best and dead simple way to start new web application project. Provides basic applications no matter what language you use.
[![Build Status](https://travis-ci.org/topaz2/chef_boilerplate.png?branch=master)](https://travis-ci.org/topaz2/chef_boilerplate)
[![Dependency Status](https://gemnasium.com/topaz2/chef_boilerplate.png)](https://gemnasium.com/topaz2/chef_boilerplate)
[![Code Climate](https://codeclimate.com/github/topaz2/chef_boilerplate.png)](https://codeclimate.com/github/topaz2/chef_boilerplate)
[![Coverage Status](https://coveralls.io/repos/topaz2/chef_boilerplate/badge.png?branch=master)](https://coveralls.io/r/topaz2/chef_boilerplate)
Containing following
| Category | Application |
| -------- | ----------- |
| HTTP Server | apache |
| DB | mysql |
| BTS | gitlab (default), redmine |
| CI | jenkins |
| VCS | git, subversion |
| Editor | emacs, vim |
| Utils | guard, jasmine, juicer, etc... |
Following cookbooks are language specific boilerplates.
* https://github.com/topaz2/chef_boilerplate_php
Requirements
============
* Chef: 11.x+
* Ruby: 1.9+
Default Settings
================
| Application | URL | ID : PASS |
| ----------- | --- | --------- |
| gitlab | http://gitlab.local:8081/ | admin@local.host : 5iveL!fe |
| jenkins | http://jenkins.local:9090/ | - |
Attributes
==========
Usage
=====
## How to use in a recipe
```
include_recipe 'boilerplate'
```
## Configuration
### Clone git repository and install gitlab, jenkins into example.com
```sh
$ cat nodes/example.json
{
"boilerplate": {
"country": "jp",
"app": {
"repo": {
"type": "git",
"uri": "https://github.com/your/repo"
}
},
"gitlab": {
"host": "example.com"
},
"jenkins": {
"host": "example.com"
}
}
}
```
### Choose fastest package mirror from jp (Default: us)
```sh
$ cat nodes/example.json
{
"boilerplate": {
"country": "jp"
}
}
```
### Stop installing specific applicaiton
#### Stop installing jenkins
```sh
$ cat nodes/example.json
{
"boilerplate": {
"jenkins": false
}
}
```
### Set /vagrant as DocumentRoot
```sh
$ cat nodes/example.json
{
"boilerplate": {
"document_root": "/vagrant"
}
}
```
License and Authors
===================
* Author:: Jun Nishikawa <topaz2@m0n0m0n0.com>
* Copyright (C) 2014, Jun Nishikawa <topaz2@m0n0m0n0.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.