使用jekyll在github上搭建静态博客
2015-05-14 21:57
351 查看
1、安装本地jekyll
安装jekyll老报失败[houjinchao@mx jekyll]$> sudo gem install jekyll 15-05-14 21:20
Password:
ERROR: Could not find a valid gem ‘jekyll’ (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/quick/Marshal.4.8/jekyll-2.5.3.gemspec.rz)
ERROR: Possible alternatives: jekyll
更换淘宝源后恢复,命令如下:
$ gem sources --remove https://rubygems.org/ $ gem sources -a https://ruby.taobao.org/ $ sudo gem update --system $ sudo gem install jekyll
2、安装模板,默认的模板是Maruku,我们替换为RDiscount
$ sudo gem install rdiscount
Maruku是纯ruby写的Markdown模板解释器。 RDiscount是C写的模板解释器。
3、导入jekyll模板
$ git clone https://github.com/plusjade/jekyll-bootstrap.git[/code]
把生成的文件导入你的github
相关文章推荐
- 在win10子系统ubuntu平台下使用jekyll和github pages搭建自己的静态博客网站
- 使用github和hexo搭建静态博客
- Jekyll&&Github---使用jekyll在github上面搭建个人博客
- 使用github静态页面和jekyll引擎搭建个人博客
- Ubuntu下使用github+jekyll搭建博客
- 使用Jekyll搭建Github博客
- Github、Jekyll 搭建及优化静态博客方法指南
- 使用GitHub Pages + Jekyll 搭建静态网站
- Github、Jekyll 搭建及优化静态博客方法指南
- 使用github和jekyll搭建个人免费托管博客
- hzmook - 使用Jekyll在Github上搭建博客
- 使用Hexo搭建Github个人静态博客
- 使用github+jekyll搭建个人博客
- 使用Jekyll + GitHub Pages搭建个人博客
- Mac下使用Jekyll和github搭建个人博客
- 使用Jekyll在Github上搭建个人博客 - 环境搭建
- Jekyll和Github搭建个人静态博客
- 使用Jekyll在Github上搭建博客
- 使用Jekyll在Github上搭建博客
- 使用github pages和jekyll搭建个人博客