Rake task to sync your assets to Amazon S3/Cloudfront

With my move to Heroku I felt bad about having Heroku’s app servers serve static content for me. It’s not really a problem, but I just like to use the best tool available for the job. Because is a rack app, it has a public directory with all static assets in once place. There are, however, a few problems that need adressing. ~ These are the problems I want to resolve:

Now powered by Heroku

This is just a quick note to let everyone know is now proudly hosted by Heroku. Since this site is powered by a toto (a rack-based blog engine) and no database, Heroku is the perfect hosting solution. ~ All articles are simple text files (with some YAML front-matter to specify title, tags, etc.) and are kept under Git version control. Deploying is a simple git push to Heroku.