Skip to content

Chef Webapp (Cookbook for deploying Rails & Node web application servers)

License

Notifications You must be signed in to change notification settings

sgerov/chef-webapp

 
 

Repository files navigation

Webapp Cookbook

This cookbook is a set of best practices for deploying web applications. Currently this is mainly focused around Ruby on Rails, but with limited support in the works for Node. We assume that code will be deployed and managed with Capistrano.

Part of the Amoeba Deploy Tools, this cookbook is used to rapidly build out a Ruby on Rails deployment in minutes. See Amoeba Deploy Tools for more information: http://github.com/AmoebaConsulting/amoeba-deploy-tools

Requirements

Currently this is tested and works on Ubuntu 12.04 Server.

You must add the following to your Cookbooks manager. For Librarian Chef you can add the following to your Cheffile:

cookbook 'rvm',     github: 'fnichol/chef-rvm'
cookbook 'monit',   github: 'phlipper/chef-monit'
cookbook 'nginx',   github: ''

Attributes

TODO: List you cookbook attributes here.

e.g.

webapp::default

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

Usage

webapp::default

TODO: Write usage instructions for each cookbook.

e.g. Just include webapp in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[webapp]"
  ]
}

Contributing

We welcome contributions to the repo. Please follow a Github friendly process:

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  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 using Github

License and Authors

Authors:

About

Chef Webapp (Cookbook for deploying Rails & Node web application servers)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 70.4%
  • HTML 24.6%
  • Shell 5.0%