god_examples icon indicating copy to clipboard operation
god_examples copied to clipboard

examples of some of the crazy awesome things you can do with God

Some silly examples of some of the things you can do with God.

h3. Rails

To run the rails examples, you must first create the db (mysql) and migrate:

  
    cd rails
    cat config/database.yml #so you know what you're creating
    rake db:create:all
    rake db:migrate RAILS_ENV=production
  

Then fire up a local copy of the app, monitored with god:

  
    god -c config/god/development.god
  

@config/deploy.rb@ shows an example Capistrano config that controls the rails app using @config/god/app.god@.