Skip to content

railsmachine/moonshine_god

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple installation and configuration management for god

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published