Windows installation Jekyll

Source: Internet
Author: User

Run Jekyll on Windows

Clip

Jekyll Introduction

Install Ruby

Installing Devkit

Installing Jekyll

Install Python

Install PIP

Executive Jekyll


Introduction Jekyll

Jekyll is a simple free blog builder, a static site builder that generates static files based on the source code of the Web page.

It provides templates, variables, plug-ins, and so on, so it can actually be used to write an entire site.

We can use Jekyll bootstrap to build a static blog site, this article first describes how to install under Windows Jekyll

Before installing Jekyll, do some preparatory work, such as the following configuration:

! Important: This article uses the environment for the WINDOWS7 64-bit operating system, if it is different, the installation process is not guaranteed to be fully consistent with this article


Install Ruby

First download Ruby, the download is Ruby 2.0.0-p598 (x64)

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvaxrtewhvbwuxotkw/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "/>

Check "Add Ruby executables to your PATH" for installation, and then open the Command line tool to check if Ruby was installed successfully

PS: Open command line tool is cmd (same as below)


Install DevKit

Select the appropriate system version number, mine is Devkit-mingw64-64-4.7.2-20130224-1432-sfx.exe

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvaxrtewhvbwuxotkw/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center "/>

Installed under the C:\RubyDevKit

Next, you need to initialize the Devkit and bind it to the Ruby installation. Open the command-line tool to the Rubydevkit folder.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvaxrtewhvbwuxotkw/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "/>


Install Jekyll

Open the command line and enter the following command

Gem Install Jekyll

Assuming a smooth appearance such as the following, it is installed, it may take some time, the need to download more, also depends on your network speed

This is the second time I installed, assuming that the first time will definitely be an error (detailed report of what errors, here is no longer reproduced.)

http://ruby.taobao.org/)

Perhaps it is because the image has been set up before, and it does not need to be set again.


Install Python

Download python


When it appears, for example, the following dialog box is selected: "Add python.exe to Path"


Install pip

Pip is the installation and management tool for a Python package. You will need it to install PYGMENTS,PYGMENTS.RB to highlight your code, using Python packages.

Download pip

Next open the command line into the analogy: C:\pip

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvaxrtewhvbwuxotkw/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "/>

Set pygments as syntax highlighting

Add for example the following in C:\RubyDevKit\_config.yml: highlighter:pygments


Run Jekyll

OK everything is ready and now we can build a Jekyll blog in our local area.

Jekyll New MYBLOGCD Myblogjekyll serve

PS: Which is not an internal or external command or an executable program or batch file during service startup.

Temporarily do not know what cause, but do not affect the use, first ignore it.

In the browser, enter: http://localhost:4000



PS: Assuming that the Jekyll is installed for the first time, there may be a lot of problems in the process

Far more than error:could not find a valid gem ' Jekyll ' (>= 0), this is why: this issue

A lot of groping can be, the big deal is unloading the reload.

Itmyhome

Source: http://blog.csdn.net/itmyhome1990/article/details/41982625


Windows installation Jekyll required software download



Windows installation Jekyll

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.