Install Jekyll on Windows

Source: Internet
Author: User

Run Jekyll on Windows

Directory

Jekyll Introduction

Install Ruby

Installing Devkit

Installing Jekyll

Install Python

Install PIP

Run Jekyll


Introduction Jekyll

Jekyll is a simple free blog generation tool, is a static site generator, it will generate static files according to the source of the Web page.

It provides templates, variables, plug-ins, and so on, so you can actually write an entire Web 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 and need 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)

Check "Add Ruby executables to your PATH" for installation and open the Command line tool to detect if Ruby is successfully installed

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


Install DevKit

Choose the right system version, mine is Devkit-mingw64-64-4.7.2-20130224-1432-sfx.exe

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.



Install Jekyll

Open the command line and enter the following command

Gem Install Jekyll

If the following happens, it is installed, it may take a while, more things to download, depending on your network speed

This is the second time I installed, if it is the first time will definitely error (the specific report what mistake, here also no longer reproduce. Reference http://ruby.taobao.org/can)

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


Install Python

Download python


When the following dialog box appears select: "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 to enter for example: C:\PIP

Set pygments as syntax highlighting

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


Run Jekyll

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

Jekyll New MYBLOGCD Myblogjekyll serve

PS: Which is not an internal or external command or a running 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: If you are installing Jekyll 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 on the line, the big deal is unloading the reload.

Itmyhome



Install Jekyll on Windows

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.