25 Mar 2009

Another change, away from github

Been using Jekyll to generate my blog and hosting the content on GitHub pages, but a few days ago I decided to use my own servers to host my content. Mainly because GitHub keeps going down when I’m trying to publish changes which is a slight annoyance. I also wanted to use the custom filters in my fork of Jekyll. Using GitHub pages also gives me the problem of not being able to redirect old url’s to there new location, so a few links that have made themselves into Google are currently dead, and the GitHub error page offers no link back to my main site. Don’t get me wrong, GitHub pages could be pretty useful and I will probably end up using them in the future for little bits of content (though at the moment I’m unsure what).

Well all in all, your now reading my blog from my slices at Slicehost, I’m using Nginx as a web server and it’s working out quite well. I still need to setup a post service hook and a simple script to automatically pull my latest blog content from GitHub and then generate the HTML through Jekyll on my slice. I’ve managed to create a simple ruby script using sinatra, the script basically accepts the JSON request from GitHub parses the data and regenerates my HTML content (using Jekyll).