tutorials
How to install jekyll on windows
Installation
- Install RubyInstaller. (I used version 1.9.2-p290).
- Install DevKit (I used version DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe) during the execution of the file be sure to customise the install path in the ruby path.( e.g C:\Ruby193\Devkit).
- To install the “Development Kit” run “Start Command Prompt with Ruby” and execute:
c:\Ruby193\Devkit\ruby dk.rb init
c:\Ruby193\Devkit\ruby dk.rb install
- At this time Rubygems is installed, install Jekyll with this command:
c:\Ruby193\gem install jekyll
- Install an another gem : rdiscount
c:\Ruby193\gem install rdiscount
RDiscount is a fast implementation of markdown in C.
Test
- Run the “Start Command Prompt with Ruby”.
- Go to your work directory e.g
c:\myrep
, here “myblog” is the new repository of the blog and enter:
c:\myrep\jekyll new myblog
c:\myrep\cd myblog
- Before to run the server enter this two command to avoid incompatible character encodings error:
c:\myrep\myblog\set LC_ALL=en_US.UTF-8
c:\myrep\myblog\set LANG=en_US.UTF-8
And open the _config.yml to change the variable pygments to false Pygments is a Python based syntax highlighter.
You do not need to install Pygments if you do not plan on posting code snippets on your website.
You must install python tu use it. - To run the server:
c:\myrep\myblog\jekyll serve
Now browse tohttp://localhost:4000
to see your site.
Or Enterjekyll serve --watch
to build your site and launch a web server that rebuilds your site every time you save in your editor.
Check out the Jekyll docs for more info on how to get the most out of Jekyll.
File all bugs/feature requests at Jekyll’s GitHub repo.
Look at : Jekyll blog list to see many examples of blog with jekyll.
Tools
How to choose the appropriate code playground to your project or your code ?
A variety of online code editor have appeared during the past couple of years. I classify it to two categories : the code playground for HTML, CSS and Javascript and the online code editor and compiler for Javascript and other languages like PHP, Ruby and Java.