安装jekyll

简介:

gem install jekyll

 blog gem install jekyll

Fetching: safe_yaml-1.0.4.gem (100%)

Successfully installed safe_yaml-1.0.4

Fetching: rouge-1.10.1.gem (100%)

Successfully installed rouge-1.10.1

Fetching: mercenary-0.3.6.gem (100%)

Successfully installed mercenary-0.3.6

Fetching: liquid-3.0.6.gem (100%)

Successfully installed liquid-3.0.6

Fetching: kramdown-1.11.1.gem (100%)

Successfully installed kramdown-1.11.1

Fetching: jekyll-watch-1.4.0.gem (100%)

Successfully installed jekyll-watch-1.4.0

Fetching: jekyll-sass-converter-1.4.0.gem (100%)

Successfully installed jekyll-sass-converter-1.4.0

Fetching: colorator-0.1.gem (100%)

Successfully installed colorator-0.1

Fetching: jekyll-3.1.3.gem (100%)

Successfully installed jekyll-3.1.3

Parsing documentation for safe_yaml-1.0.4

Installing ri documentation for safe_yaml-1.0.4

Parsing documentation for rouge-1.10.1

Installing ri documentation for rouge-1.10.1

Parsing documentation for mercenary-0.3.6

Installing ri documentation for mercenary-0.3.6

Parsing documentation for liquid-3.0.6

Installing ri documentation for liquid-3.0.6

Parsing documentation for kramdown-1.11.1

Installing ri documentation for kramdown-1.11.1

Parsing documentation for jekyll-watch-1.4.0

Installing ri documentation for jekyll-watch-1.4.0

Parsing documentation for jekyll-sass-converter-1.4.0

Installing ri documentation for jekyll-sass-converter-1.4.0

Parsing documentation for colorator-0.1

Installing ri documentation for colorator-0.1

Parsing documentation for jekyll-3.1.3

Installing ri documentation for jekyll-3.1.3

Done installing documentation for safe_yaml, rouge, mercenary, liquid, kramdown, jekyll-watch, jekyll-sass-converter, colorator, jekyll after 8 seconds

9 gems installed

 

 blog

 

创建项目:

jekyll new whuanghkl-site

 

启动项目:

 jekyll serve

 blog jekyll new whuanghkl-site

New jekyll site installed in /Users/whuanghkl/work/mygit/blog/whuanghkl-site.

 blog cd whuanghkl-site

 whuanghkl-site ls

_config.yml _includes   _layouts    _posts      _sass       about.md    css         feed.xml    index.html

 whuanghkl-site jekyll serve

Configuration file: /Users/whuanghkl/work/mygit/blog/whuanghkl-site/_config.yml

            Source: /Users/whuanghkl/work/mygit/blog/whuanghkl-site

       Destination: /Users/whuanghkl/work/mygit/blog/whuanghkl-site/_site

 Incremental build: disabled. Enable with --incremental

      Generating...

                    done in 0.281 seconds.

 Auto-regeneration: enabled for '/Users/whuanghkl/work/mygit/blog/whuanghkl-site'

Configuration file: /Users/whuanghkl/work/mygit/blog/whuanghkl-site/_config.yml

    Server address: http://127.0.0.1:4000/

  Server running... press ctrl-c to stop.

 

参考:http://jekyllrb.com/

相关文章
|
8月前
|
JavaScript 前端开发 开发者
windows安装npm教程
windows安装npm教程
574 0
|
3月前
|
JavaScript 开发工具 git
已安装nodejs但是安装hexo报错
已安装nodejs但是安装hexo报错
53 2
|
JavaScript 安全 前端开发
给Hexo添加说说功能
给Hexo添加说说功能
|
JavaScript
Hexo 入门指南(七) - 评论 & 分享
Hexo 入门指南(七) - 评论 & 分享
80 0
Hexo、Jekyll、Sphinx、mkdocs、docsify等静态博文档汇总
Hexo、Jekyll、Sphinx、mkdocs、docsify等静态博文档汇总
256 0
Hexo、Jekyll、Sphinx、mkdocs、docsify等静态博文档汇总
|
Ruby Windows
windows安装jekyll步骤及问题
windows安装jekyll步骤及问题
227 0
windows安装jekyll步骤及问题
|
开发工具 git Ruby
【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
330 0
【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
|
JSON JavaScript 数据格式
Gitbook 使用笔记
Gitbook 使用笔记
288 0
Gitbook 使用笔记
|
JavaScript 开发工具 git
gitbook安装教程
gitbook安装教程
284 0
gitbook安装教程