For those of you that still use Octopress like me, one of the annoying things is deploying to Amazon S3.
I was using s3cmd
which is indeed an awesome utility to sync the rendered blog to S3, however it’s slow, it’ll take about 5 minutes to deploy my blog, which is not a huge blog.
While implementing a quick hack that uploads images to Amazon S3, I stumbeled upon a certain Mr Awesome called Andrew Kelley - @andrewrk, who’s node s3 client I used.
In the README for the node-s3-client there was a link to s3-cli.
This is a inplace replace to s3cmd
, written in node (yaay!), which works flawlessly with the existing s3cmd configuration, which (amongs other awsome stuff), uploads to S3 in parallel, saving LOADS of time.
I did a quick change to the Octopress Rakefile
|
|
And Voila! Deploy time reduced from 5 minutes to 17 seconds (UBER W000TZ!!1)
Stay classy San Diego.