jnewland / god_examples
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Jul 08 11:05:23 -0700 2008 | |
| |
README.textile | Fri Oct 03 13:19:12 -0700 2008 | |
| |
custom_behvaior.god | Tue Jul 08 11:34:43 -0700 2008 | |
| |
daemons/ | Mon Jul 07 19:24:23 -0700 2008 | |
| |
email_contacts.god | Tue Jul 08 14:14:15 -0700 2008 | |
| |
jabber_bot.god | Tue Jul 08 11:06:50 -0700 2008 | |
| |
jabber_contacts.god | Wed Jul 09 11:39:27 -0700 2008 | |
| |
leaky.god | Mon Jul 07 19:24:23 -0700 2008 | |
| |
leaky_notifications.god | Tue Jul 08 11:05:56 -0700 2008 | |
| |
lib/ | Tue Jul 08 13:55:56 -0700 2008 | |
| |
mongrel_cluster.god | Tue Jul 08 13:47:43 -0700 2008 | |
| |
pids/ | Mon Jul 07 19:24:23 -0700 2008 | |
| |
rails/ | Fri Oct 03 15:11:29 -0700 2008 | |
| |
scripts/ | Tue Jul 08 11:06:50 -0700 2008 | |
| |
simple.god | Tue Jul 08 09:53:03 -0700 2008 | |
| |
sinatra.god | Tue Jul 08 10:12:51 -0700 2008 |
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.
