What better way to inaugurate my blog than to explain how to set up something similar?
This blog uses a commonly used tool and service: Jekyll and Github Pages.
What is Jekyll?
To quote their website:
"Jekyll is a simple, blog-aware, static site generator. It takes a template directory containing raw text files in various formats, runs it through a converter (like Markdown) and our Liquid renderer, and spits out a complete, ready-to-publish static website suitable for serving with your favorite web server."
It is widely used by the tech-blogging community and more importantly, is extremely easy to set up with Github pages !
What is Github Pages?
Github Pages allows any Github user to host a static website directly from a Github repository, all free of charge.
The website you are currently viewing is one of them, and so is my personal website !
On this blog post we'll focus solely on the deployment of a Jekyll blog, but I might write about how to deploy an Angular4 website in the near future.
Step 1: Setup Github Pages<br>
Start by creating a repository named
username with your Github username (so in my case, I have inputed
Then clone your repository (this example uses a terminal):
In order to test that everything works as intended, enter the project folder and add an
Finally, push it:
And that's all you need ! Open up your browser of choice and go to
Step 2: Setup Jekyll<br>
Let's start by generating Jekyll's starter blog (make sure you are root):
Step 3: Deploy our Jekyll blog
Everything is explained here, but in short:
You must use a gem (a Ruby package) created by the Github Pages team.
Add it to your
Deploy everything to your Github Pages repository
All we have to do is push the contents of our Jekyll repository to our
To do so (in your Jekyll blog repository):
And voilà ! Your Jekyll blog should be up and running, you can now start blogging at your hearts content.
Optional: personalize your blog
It might take a short while to have everything set up, but it's a rather simple process that is very similar to what you have just achieved. Don't forget to check out Jekyll's official documentation for more information on theming.
Github Pages and Jekyll are two very cool free tools that should be used by anyone who wishes to set up a personal blog, website or project. There is a lot of documentation out there to help you achieve your goals, like setting up a domain and custom domain.
I hope this post has been of help to some of you,
Until next time,