安装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/

相关文章
|
6月前
|
JavaScript 前端开发 开发者
windows安装npm教程
windows安装npm教程
303 0
|
1月前
|
JavaScript 开发工具 git
已安装nodejs但是安装hexo报错
已安装nodejs但是安装hexo报错
21 2
|
JavaScript
Hexo 入门指南(七) - 评论 & 分享
Hexo 入门指南(七) - 评论 & 分享
73 0
Hexo、Jekyll、Sphinx、mkdocs、docsify等静态博文档汇总
Hexo、Jekyll、Sphinx、mkdocs、docsify等静态博文档汇总
232 0
Hexo、Jekyll、Sphinx、mkdocs、docsify等静态博文档汇总
|
Ruby Windows
windows安装jekyll步骤及问题
windows安装jekyll步骤及问题
206 0
windows安装jekyll步骤及问题
sublimeText3下载安装教程
本文介绍sublimeText3下载安装的教程。
1963 0
sublimeText3下载安装教程
|
开发工具 git Ruby
【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
319 0
【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
|
JavaScript 开发工具 git
gitbook安装教程
gitbook安装教程
260 0
gitbook安装教程
|
资源调度 应用服务中间件 Linux
npm私服安装教程 - verdaccio 入门
笔者安装的是 verdaccio@3.2.0,需要 node > 6.12.0, npm >=3.x 我们使用 pm2 来管理进程,需要全局安装 pm2
481 0