Jekyll Blog Installation#
Hello, I received a message asking how I set up my Jekyll blog. First of all, the installation and use are quite simple. It does not require complex configurations like databases. Since it creates a static site, your blog will be accessible in a short time if you make the right settings and be patient.
Installation#
Open your terminal and follow these steps in order:
sudo apt-get install ruby ruby-dev make gcc
» Press Enter
sudo apt-get install ruby ruby-full ruby-bundler
» Press Enter
sudo gem install jekyll
» Press Enter
jekyll -v
» This way you can see your Jekyll version. Jekyll is currently at version 3.4.2. If there are no problems with your actions so far, now it's time to set up our blog:
jekyll new blog
» Press Enter — A directory named blog will be created in your Home folder.
cd blog
bundle install
bundle exec jekyll serve
» You will be able to see the blog you set up on port 4000 locally. Finally:
jekyll serve
Tip ⚡ If the Bash output looks like the image, everything is fine.

» You will be able to see your blog when you go to http://127.0.0.1:4000/.
Hosting Jekyll Blog on Github Pages#
I can hear voices saying: “Wait, how will it be on GitHub?” The logic here is as follows: If you are going to install a plugin or theme, you should first try it locally, then send it to the repo. The following method will be simpler, but it is useful to examine the links I will give at the end of the lesson. If you learn the way I do, you will grasp the logic.
Very Simple Jekyll Installation on GitHub Pages#
-
Log in to your GitHub account.
-
Go to the Jekyll GitHub page and perform a Fork operation. After forking, a repo named jekyll will be created in your own profile. (I hope you saw the GitHub repo fork menu in the top right 😄)
-
After the fork operation is finished, return to your profile and click on your repo. Then enter the Settings menu. Change the repo name according to the blog address you want to create.
githubreponame (image visual lost)
After waiting a while, you can see the status of your blog from the “Pages” area at the bottom of the Settings section. It is recommended to choose a random theme from the theme section and save it for faster approval.
muhtesemjekyll (image visual lost)
Understanding the Logic#
Git use is quite simple; you don't need to spend hours. Since we write in Markdown format, it might feel strange at first, but it gets much easier as you get used to it. I use the Sublime Text plugin and occasionally the Remarkable app. However, once you learn to write Markdown, there's not much need for these.
Note: Learning Markdown provides the greatest convenience in the long run when working with Jekyll.
Alternatives and Additional Tools#
For those who say “Bro, I'm a WordPress guy, isn't there anything for us?” there is good news: You can use the Jekyll Admin plugin developed by Mert Kahyaoğlu. It is also possible to publish locally using Ngrok.
Comments