Today we will make a very simply blog application and host it freely on github.io. This post is intended for those who want to publish their programming achivements and experience. I personally want to document all my work that i do in my free time and the things i learn for in my programmer career. Here are the step of bulding a blog website using UBUNTU 14.4 and publish it on the github.io free of cost and tons of effort.
1. Install RUBY
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.3 ruby2.3-dev
2. Install the following dependencies
sudo apt-get install build-essential patch
sudo apt-get install gcc make -y
sudo apt-get install nodejs
sudo apt-get install ruby-dev zlib1g-dev liblzma-dev
3. Install the following gems
sudo gem install nokogiri
sudo gem install jekyll
sudo gem install bundle
Guess what? That’s it. You have Jekyll is installed. Further information: Here are some commands from jekyllrb.com that should get you up and running with a new blog.
Create a new Jekyll site at ./mysite
jekyll new mysite
To build this site:
Change into your new directory
cd mysite
Build the site and preview it
bundle exec jekyll serve