Setting up Jekyll in Windows
To install
- Download ruby and dev kit from http://rubyinstaller.org/downloads/
- Install both of them. When install ruby, it is better to check the option to add the path. Install the kit to, for example,
c:\DevKit - Open cmd, and
cdtoc:\DevKit -
Run
> ruby dk.rb init > ruby dk.rb install > gem install jekyll -
To turn on jekyll, enter
> jekyll serve --watch --baseurl ""
Already installed
- Open cmd, and cd to c:\DevKit
-
Run
> ruby dk.rb init -
Go to the local website folder and run
> jekyll serve --watch --baseurl ""