views:

389

answers:

2

I have a Rails project that I will be deploying to the spectacularly awesome Heroku.

I would really like to be able to automate pushing my resources to Amazon S3 automatically, resources in this case being my images, stylesheets and javascript.

Obviously I can write some sort of capistrano task to do this myself, but does anyone know of something that does this already?

Note: I don't need to be able to upload user-files to S3 as I do that already via paperclip. I am talking about the actual project files required to run the site.

+3  A: 

This looks handy.

Jim Zajkowski
Looks great, cheers
Toby Hede
And of course, the page is no longer available.
Toby Hede
A: 

Hi Toby,

I found a good article which actually explain about the method to minify, compress and upload the static conetents (js/css) to Amazon S3 using Capistrano script.

Check the article at http://www.makeurownrules.com/ruby-on-rails/minify-compress-synch-amazons3-capistrano

Cheers, Kapil

Kapil