From Wyam to Jekyll
A few of us recently set about re-vamping the website for the Cancer Vaccine Institute charity. After battling with a terrible Wordpress theme, we settled on using Jekyll and static HTML. This was fairly serendipitous for me, as I got a crash course on getting Jekyll to run on Windows, the template engine it uses called Liquid, and getting free-hosting from Github.
The steps are a lot easier than I thought:
- Create a Github repository called
- Add a .gitignore for Jekyll
- Clone it, and add some default folders as the Jekyll docs describe.
choco install ruby
- Close the powershell console, open a new one.
gem install jekyll
- CD into your repository,
- Go to “http://localhost:4000” and be amazed.
- Add a CNAME file with your domain name.
- Update your DNS records so the A record points to the Github IP.
git pushyour repository and watch it appear on http://yourusername.github.io and in 10 minutes, your domain you set in the CNAME file.
Most of the time spent was converting to the Liquid templating engine, which is just like the hundreds of other templating engines such as Smarty, and making the markdown files Jekyll-friendly.
The source for the site is available on https://github.com/yetanotherchris/yetanotherchris.github.io.