Jekyll is a blog-aware, static site generator in Ruby.
Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.
This post will help you to install and start your first site in Jekyll.
Installing Ruby from source
You can go ahead with this or read the text written below.
Download from here the version you want.
#untar it tar -xvzf ruby* cd ruby x.x.x ./configure --prefix=DIR make sudo make install
If not used –prefix option this will install Ruby into /usr/local. To change, pass the –prefix=DIR option to the ./configure script.
See this for more.
sudo apt-get install nodejs
sudo gem install bundler
sudo gem install jekyll
Install all dependencies
Let’s create out first website
jekyll new hello-jekyll cd hello-jekyll sudo jekyll serve
Now browse to http://localhost:4000 🙂