I found this great Tutorial (http://ryayon.github.io/cygwin/Install-Jekyll-on-Windows/)[http://ryayon.github.io/cygwin/Install-Jekyll-on-Windows/] to get Jekyll running on Cygwin. After following the instructions, there was an “Failed to build gem native extension” error at first, so I checked the mkmf.log file using “cat ~/.gem/ruby/extensions/x86_64-cygwin/ffi-1.9.10/mkmf.log”. Apparently I was missing the “libgmp-devel” package. After installing it, building Jekyll went fine.
The second step was to import my old wordpress blog articles. This works out of the box. I had to install the ruby gems as instructed on the jekyll web pages. The import does not import images and does not convert blog posts to markdown. But it is better than nothing i suppose.
Now for some automation. Naturally i want to automatically upload my page whenever I write something new. I used a simple Powershell script to generate a list of ftp commands for Microsofts limited ftp commandline tool. This way i can upload my Jekyll Site automatically. You can get the code here on github where you can find the script and an example settings.json to use. Here is the code for the impatient: