Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
moomerman committed Nov 4, 2010
1 parent e19e4db commit c16acf7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.textile
Expand Up @@ -39,12 +39,7 @@ end

Add your Amazon S3 configuration details to <code>config/asset_id.yml</code>

<pre><code>development:
access_key_id: 'MY_ACCESS_KEY'
secret_access_key: 'MY_ACCESS_SECRET'
bucket: "my_dev_bucket"

production:
<pre><code>production:
access_key_id: 'MY_ACCESS_KEY'
secret_access_key: 'MY_ACCESS_SECRET'
bucket: "my_live_bucket"
Expand All @@ -59,7 +54,7 @@ perform the upload for use in your deploy scripts
desc "uploads the current assets to s3 with stamped ids"
task :upload do
AWS::S3::DEFAULT_HOST.replace "s3-eu-west-1.amazonaws.com" # If using EU bucket
AssetID::Base.asset_paths += ['favicon.png']
AssetID::Base.asset_paths += ['favicon.png'] # Configure additional asset paths
AssetID::S3.upload
end

Expand Down

0 comments on commit c16acf7

Please sign in to comment.