Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.23 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.23 KB

Moonshine_God

A plugin for Moonshine

Moonshine_God provides simple installation and configuration management for god. Just drop your god configs into config/god/*.god in your Rails application, add a couple lines to your Moonshine manifest, and deploy.

Available options:

  • log_level - One of debug, info, warn, error, or fatal. Default is 'warn'.
  • log_file - Path to log file. Default is /var/log/god.log.

Instructions

  • script/plugin install git://github.com/railsmachine/moonshine_god.git
  • Add god configuration files at config/god/*.god
  • Configure settings in the manifest if desired: configure( :god => { :log_level => 'info', :log_file => "#{configuration[:deploy_to]}/shared/log/god.log" } )
  • Include the plugin and recipe(s) you want to use in your Moonshine manifest. recipe :god
  • Add the :god role to server(s) in your capistrano deploy file(s) running god:

    config/deploy/staging.rb

    server 'staging.example.com', :god, :app, :web, :db, :primary => true

Unless otherwise specified, all content copyright © 2014, Rails Machine, LLC