public
Description: examples of some of the crazy awesome things you can do with God
Clone URL: git://github.com/jnewland/god_examples.git
name age message
file .gitignore Tue Jul 08 11:05:23 -0700 2008 store passwords locally in a passwords.yml file... [jnewland]
file README.textile Fri Oct 03 13:19:12 -0700 2008 more docs [jnewland]
file custom_behvaior.god Tue Jul 08 11:34:43 -0700 2008 demonstrate custom behaviors [jnewland]
directory daemons/ Mon Jul 07 19:24:23 -0700 2008 intial simple examples [jnewland]
file email_contacts.god Tue Jul 08 14:14:15 -0700 2008 move email example [jnewland]
file jabber_bot.god Tue Jul 08 11:06:50 -0700 2008 demonstrate monitoring a jabber bot using a lam... [jnewland]
file jabber_contacts.god Wed Jul 09 11:39:27 -0700 2008 whoops, remove this password. it's been changed... [jnewland]
file leaky.god Mon Jul 07 19:24:23 -0700 2008 intial simple examples [jnewland]
file leaky_notifications.god Tue Jul 08 11:05:56 -0700 2008 missed commit [jnewland]
directory lib/ Tue Jul 08 13:55:56 -0700 2008 notify support for GodMongrelCluster [jnewland]
file mongrel_cluster.god Tue Jul 08 13:47:43 -0700 2008 GodMongrelCluster: easy migration path from mon... [jnewland]
directory pids/ Mon Jul 07 19:24:23 -0700 2008 intial simple examples [jnewland]
directory rails/ Fri Oct 03 15:11:29 -0700 2008 use pulse gem [jnewland]
directory scripts/ Tue Jul 08 11:06:50 -0700 2008 demonstrate monitoring a jabber bot using a lam... [jnewland]
file simple.god Tue Jul 08 09:53:03 -0700 2008 change simple to use crashy script [jnewland]
file sinatra.god Tue Jul 08 10:12:51 -0700 2008 demonstrate monitoring a sinatra app [jnewland]
README.textile

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

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.