Part `-5 `: Copy my blog site !!

Pranav Kanade
Sep 2, 2018 · 3 min read

Last Friday was one of those days when, reality hits ..! So, I visited my website www.allnighter.in and it wasn’t working. There was this big error.. I paid for it you know and so I felt bad …

Me, the cheapskate … I’ve hosted my unknown blog on Github before.. and so, it occurred to me, that finally it might be worth something .. !

So, here I go .. ! Setting up things !

Step 1 : Create Repository

Question 1: Do you have Github account? No, please signup here. It’s free!

Important !! Repository name should be your_username.github.io . When we are done your blog will be published to https://your_username.github.io . If you decide to use some other name then content will be published at — https://your_username.github.io/your_repository

link Github : create new repository

Step 2 : Setting up local system

  1. Github doc
  2. Jekyll doc

PS : Please don’t use your brain .. Just follow above documents !

Step 3 : Hunt down free theme !!

Suggestion : If you want to do it all by your self, then please go on read the Jekyll doc 🤯🤯🤯🤯. If your are into that sort of thing..! Here is the result of googling — “free jekyll themes”

I got FORTY for my self!

PS : Don’t waste too much time just pick this one.. .! It is hard to edit cause there are dozen things to edit but hell with them..!

Step 4 : Lets do the fun work .. shall, we ?! 🤘

You’ll need this — Forty Source Code

  1. Clone this repository (I believe you can do this by your self 😇).
  2. Remove existing .git file.
cd cloned_repo
rm -rf .git

3. The .gitlab-ci.yml file is only needed for GitLab Pages, so delete it if you are using GitHub instead. _Which we are .. in case you haven’t noticed !_

4. Start editing the _config.yml file!

Ohh .. you want example is it..?! okaaay .. 🤨

e.g. - _config.yml for allnighter.in

Which brings us one step closer … If everything goes accordingly. 😅

Step 5 : Publishing

Creating a local project

Copying the git repository address -

Now we have an initial project … !! don’t we ! 🤓

Step 6 : Worked.. ??

Goto, the URL.. 🤩 … What .. you want me to help you with that too .. You skipped the important part in step 1 didn’t you? Smugs !! 🤬

And done ! Ohh, you are welcome, BTW..

What Next ?

You’ll be amazed how much one can code just by googling things. I am excited to show you how I built features like search just by copying someone else’s code and putting it to use. So stay put .. there is more to come in succession to this post. I promise, I’ll try to be gentle next time.!

C .. ya ! When, I C.. Ya !!

-Pranav

Pranav Kanade

Written by

Truth shall liberate you!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade