Octopress blog system is an interesting approach to have a robust fast and easily indexable web site. It’s even more interesting to have it hosted on Amazon S3 for reliability and peace of mind as you would not have to host it yourself.
So here is my quick howto tweak for moving mine to S3 using aws sync command.
Great article to help me set this up
I was looking at howto set this up on Google and found this article from Ryan Jones that explained very well the howto.
Unfortunately, I counldn’t use the s3cmd tool from Github needed to sync Octopress, so I changed a bit the approach to use Amazon aws CLI.
That’s what is all about on this quick article. it’s my 2 cents to Ryan article …
Replacing s3cmd by aws CLI
Of course I’ll not go into details of how to setup Amazon S3 service nor Amazon aws CLI.
Idea here is to quickly share what worked for me in changing my Rakefile
Rakefile
So at the end or your Rakefile, in stead of using Ryan’s code, here is mine:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|