Hope you learnt something new in my previous post - How to install Jekyll on your local machine.
Well, today's post is a HOWTO TUTORIAL on How to deploy your Jekyll Website on Github pages or create a free blog on Github using Jekyll
For this you need:
- Github account
- Ruby windows installer (as I am a windows user)
- Jekyll installed
If you want to learn How to install Jekyll, then you should read my previous post - How to install Jekyll on your local machine
Without any further due let's get started.
➜ First, open command prompt window on your system.
➜ Now check the version of Jekyll installed on your local machine.
NOTE: If you haven't installed Jekyll. Then refer to my previous post which is also a HOWTO Tutorial to install Jekyll on your local machine - How to install Jekyll on your local machine.
➜ Switch to the folder where you want to do your entire work.
Like here, I switched to my Documents folder as I want to do my entire work there.
➜ Now go to the terminal and run this command to create a new blog using Jekyll
Jekyll new [blogname]
Jekyll new vkasblog
Like here I created a blog named vkasblog .
➜ Now again switch to the new blog "vkasblog".
➜ Now to see the new blog "vkasblog" on your server , run this command.
bundle exec jekyll serve
NOTE: For the first time, you have to use bundle exec_ before __jekyll serve. By the next time, you can use only jekyll serve.
➜ Now open this link to see your freshly created blog on your server.
Now you can see your Jekyll blog on localhost: 4000.Congrats we did it together. If you get stuck on any point, ask in the comments sections.
Connect with me on