How this site was created

I love the simplicity of this site. Writing a post in a code editor and compiling it like a project is more familiar than using a commercial solution. I also feel less restricted with what I can develop on the site without jumping through hurdles.

The platform has no third party storage access such as databases and the cms being used is jekyll. If you want to call it that.

From my understanding since starting the site up last night is that it it will ask for various configuration variables such as title, theme, categories etc and it will then inject these values this into generated html pages. Basically a super find and replace function for site themes. Its a little smarter however as we can set up categories, tags and links to other social media with only changing it in one place. What is kind of interesting is you have to “compile” the site every time you make a new post. I quite like it as I have it running locally and don’t need to follow the auto deployments that github will do once you upload the site to your git repo. Thats where this site will live and be hosted at, github pages is a tool integrated into github repo that now allow you to host your own static sites on it.

If you want to set up yourself, then I would advise loading this in another tab. In short these are the steps to get the site set up. I did find some issues and this was primarily due to different site theme templates requiring different dependencies specified in the sites gem file.

In short

These are the key things that can get you set up pretty quickly.

  1. Fork a theme you like
  2. Install ruby 2.6 dev kit
  3. Install Jekyll
  4. Run the gem file
  5. CD to your theme dir and run

Watch out! Need version < 2.7 of Ruby for a lot of themes due to dependency on nokogiri

Redirecting to your domain

Github may change their DNS entries but im sure we will be informed or they will auto redirect. Add the following to your A entry for your domain you have purchased. Then head on over to your repo settings and enter your domain under the github pages section.

DNS Values

Commands used

This will install Jekyll in your Ruby development environment

 
$ gem install jekyll bundler 

Initially you could just create a new website and then test out functionality once you have completed the steps above. This will then let you clone a theme into the repo and test it locally!

 
$ jekyll new website

Updates gem packages

 
$ bundle install 

After any changes re run this is the main one

 
$ bundle exec jekyll serve 

Further Reading

Check out the following links for inspiration and further reading about this topic

My Email