Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 967 Bytes

README.rdoc

File metadata and controls

27 lines (22 loc) · 967 Bytes

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.

    plugin :god
    recipe :god