Install jekyll on ubuntu 12.04 LTS

07 Nov 2013 » {[{categoryPostCurrent}]}

In this article I show you how to install Jekyll on Ubuntu 12.04LTS.

  • The first step is to install the dependency; so as root you must type in a terminal:

    apt-get install ruby1.9.3 ruby1.9.1-dev nodejs
    

be sure that ruby 1.8 is not installed on your system, if so you have to remove it from the system

gem install jekyll
  • Once the installation is finished, you can test jekyll just by typing in a terminal :

    jekyll new mynewsite && cd mynewsite && jekyll build && jekyll serve
    
  • Let the previous terminal opened; launch a web browser and go to the URL http://localhost:4000; the following screen must appear:

screen

Voir aussi...

comments powered by Disqus