Synch S3 Asset Host plugin

Plugin details

So you've got "multiple asset hosts" running in your Rails application, and you're using Amazon's S3 to host your assets. Now you want to make sure that your assets are kept up to date. This plugin is a Capistrano recipe that keeps the asset hosts synchronized with the public directory in your subversion repository.

Repositorysvn://svn.spattendesign.com/svn/plugins/synch_s3_asset_host Tags amazon, S3 LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install svn://svn.spattendesign.com/svn/plugins/synch_s3_asset_host

After you get everything setup and do your first deploy, just run @cap deploy@ as normal and all changed files in @RAILS_ROOT/public@ will be uploaded to all of your asset host buckets before the final @deploy:symlink@ task.

The following tasks are also available:

* cap s3_asset_host:get_s3_revision
* cap s3_asset_host:find_changed
* cap s3_asset_host:list_changed
* cap s3_asset_host:find_all
* cap s3_asset_host:upload_changed
* cap s3_asset_host:upload_all
* cap s3_asset_host:upload
* cap s3_asset_host:reset_and_upload
* cap s3_asset_host:setup
* cap s3_asset_host:create_buckets
* cap s3_asset_host:delete_all
* cap s3_asset_host:connect



You can get documentation on these tasks by running @cap -T@

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (1 older version) | Last edited by: scott, about 1 year ago