jacquescrocker / jammit-s3

Extensions so you can use jammit with s3/cloudfront for your Rails app
http://documentcloud.github.com/jammit/
MIT License
125 stars 31 forks source link

Added CloudFront support #7

Closed ariejan closed 13 years ago

ariejan commented 13 years ago

I just added support for CloudFront. Enable and configure it:

use_cloudfront: true
cloudfront_domain: dj83843.cloudfront.net

Just push your assets as normal, and you're good to go.

jacquescrocker commented 13 years ago

Pulled. Thanks!!

Want to take a stab at adding a Rake task that also creates the Cloudfront distro? I hacked something together for a recent project (for a generated static site). Here's the code: https://gist.github.com/703658

Let me know if you have any issues with it. I haven't had time to clean it up and merge it into jammit-s3

Thanks again!