Skip to content

Commit

Permalink
Updated the readme to describe the structure of the config/aws.yml th…
Browse files Browse the repository at this point in the history
…at we'll be using.
  • Loading branch information
endymion committed May 5, 2011
1 parent 13f7279 commit dc827e9
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions README.md
Expand Up @@ -44,31 +44,23 @@ Quick Start

Include Lifeboat in your model class:

class AnyObject < ActiveRecord::Base
include LifeBoat
end
class AnyObject < ActiveRecord::Base
include LifeBoat
end

Provide your AWS credentials in config/lifeboat.yml
Provide your AWS credentials in config/aws.yml

test:
key: YOURSECRETACCESSID
secret: YOUR-secRE/TACCe\ssKEy
queue_name_prefix: your-app-development
test:
access_key_id: YOURSECRETACCESSID
secret_access_key: YOUR-secRE/TACCe\ssKEy

development:
key: YOURSECRETACCESSID
secret: YOUR-secRE/TACCe\ssKEy
queue_name_prefix: your-app-development

production:
key: YOURSECRETACCESSID
secret: YOUR-secRE/TACCe\ssKEy
queue_name_prefix: your-app-development
development:
access_key_id: YOURSECRETACCESSID
secret_access_key: YOUR-secRE/TACCe\ssKEy

production:
queue_name_prefix: your-app-production
key: YOURSECRETACCESSID
secret: YOUR-secRE/TACCe\ssKEy
access_key_id: YOURSECRETACCESSID
secret_access_key: YOUR-secRE/TACCe\ssKEy

Lifeboat will then automatically create queue messages each time any instance of the model
class is created, updated, or deleted.
Expand Down

0 comments on commit dc827e9

Please sign in to comment.