Ninan Kara
Posted on July 29, 2020
Intro
The reason I wrote this is because the official documentation didn't work smoothly. Just in case I forgot the step, I decided to write it here for my own documentation.
Step-by-step
- Create public repository in Github with following name
username.github.io
- Clone it to your local repository
- Install RubyInstaller , and follow the step till complete
- (Optinal) If the installer doesn't automatically run, run following command
ridk install
- If you are not sure, install no 1 and 3
- Install Jekyll by run following command
gem install jekyll bundler
- Check whether Jekyll is completely installed by run
jekyll -v
Jekyll installation complete, now setting the Github pages
- Open your local repository
- Go up one folder by run
cd ..
- Run
jekyll new username.github.io --force
to install jekyll in Github pages - Open
Gemfile
file - Remove or comment following line
gem "jekyll", "~> 4.1.1"
- Add following line
gem "github-pages", group: :jekyll_plugins
- Update the version of other plugins, by referring Github Dependency Documentation . As for me, I updated the version of
jekyll-feed
version. Save your work. - Go to command prompt and run
bundle update
following update to command
Configuration done!
- Now commit your local repository and push it to Github.
- Run your pages.
💖 💪 🙅 🚩
Ninan Kara
Posted on July 29, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.