Hello all,

I've gathered a good basis set of recipes for God and put them at
  http://github.com/mrflip/godhead
or available through gemcutter,
  sudo gem install godhead

With godhead, the god config for an nginx-proxying-to-unicorn site
looks in its entirety like

require 'godhead'
# ====================================================
#
# Cartilage web app
#
CARTILAGE_DEPLOY_DIR = '/var/www/cartilage'
group_options = { :monitor_group => :cartilage, }
Godhead::NginxRunnerRecipe.create group_options.merge({ })
Godhead::UnicornRecipe.create     group_options.merge({
    :root_dir => CARTILAGE_DEPLOY_DIR+'/current',
    :pid_file => CARTILAGE_DEPLOY_DIR+'/shared/tmp/unicorn.pid',
    :uid      => 'www-data',
  })

I've just started this, so please give me any feedback on design, and
feel free to contribute additional recipes.

cheers,
[email protected]

--

You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en.


Reply via email to