Skip to content

Development platform for PHP, Ruby, and NodeJS

Notifications You must be signed in to change notification settings

CageHost/chef-vagrant

Repository files navigation

CMD Vagrant Chef Environment

A development platform for PHP, Ruby, and NodeJS applications, which creates a pre-configured Linux server containing the following:

Overview

Default Software:

  • Apache 2.2
  • NGINX 1.2.1
  • MySQL 5.5
  • PHP 5.4 + Composer
  • NodeJS 0.10.26 + NPM
  • Ruby 1.9.3 + RVM
  • Grunt 0.1.13
  • Capistrano 2.15.5
  • Git, Imagemagick, Sendmail
  • PHP Extensions (apc, curl, mcrypt, imagick)

Optional Software:

  • Java 1.7.0 (for Solr)
  • ElasticSearch

Please review the CMD LAMP cookbook for specific software installation details.

Local Installation

Requirements:

Instructions:

  1. Download or clone this repository
  2. Copy config.yml.dist to config.yml, and modify your configuration variables
  • If you don't know your public key path, create one.
  1. From a command line, navigate to your directory and start the server

Example:

git clone [email protected]:cmdlabs/vagrant-chef.git
# update your config.yml
cd vagrant-chef
vagrant up

Server Management

Requirements

  • Berkshelf
  • Knife Solo

Node configuration

Server configuration files are hosted in the cmd/chef-nodes private repository, and given access can be imported as a submodule via: git submodule update --init

Supported Platforms

Windows, Mac

Attributes

Key Type Description Default
['lamp']['bacon'] Boolean whether to include bacon true

Usage

lamp::default

Include lamp in your node's run_list:

{
  "run_list": [
    "recipe[lamp::default]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Alex Crawford ([email protected])

About

Development platform for PHP, Ruby, and NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages