码迷,mamicode.com
首页 > 其他好文 > 详细

GitHub搭建自己的博客过程笔记

时间:2017-08-09 20:06:13      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:err   details   ror   useful   cal   browser   conf   ext   sources   

1.参考

我的 Github 个人博客是怎样炼成的

http://www.jianshu.com/p/4fd3cb0a11da

到了第三节"三、使用 Jekyll 搭建个人博客"时需要安装Jekyll

2.安装Jekyll参考

Jekyll安装教程

http://www.jianshu.com/p/1093b5565918

到了最后一步"5. Jekyll启动与调试"时遇到了问题

New jekyll site installed in /Users/myPath.
  Dependency Error: Yikes! It looks like you don‘t have bundler or one of its dependencies installed. In order to use Jekyll as currently configured, you‘ll need to install this gem. The full error message from Ruby is: ‘cannot load such file -- bundler‘ If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
jekyll 3.3.1 | Error:  bundler

3.此时参考 

jekyll安装过程中可能会遇到的一些错误及解决办法

http://blog.csdn.net/wyc12306/article/details/51504885

4.再回到第3步,启动与调试

在E:\GitHub目录下打开命令行窗口执行

jekyll new yadongliang

然后切换到工程目录并启动服务

cd yadongliang
jekyll serve

技术分享

访问localhost:4000

技术分享

 

 

 此时已经成功了安装Jekyll,但是回过头看命令行窗口最后一行:

技术分享

 

参考https://stackoverflow.com/questions/9371378/warning-not-found-favicon-ico

 

Your browser is looking for a favicon that it can display in the Location Bar. Either give it one, or ignore the warning.

 

好像无可厚非?重启服务再访问又没有这问题了...不管了,继续1中的三.使用Jekyll搭建个人博客

 

其他:

1.下载python,百度python官网再下载,其他小问题貌似不用详述了

2.关于jekyll的http://blog.csdn.net/u012675539/article/details/43734055

 

GitHub搭建自己的博客过程笔记

标签:err   details   ror   useful   cal   browser   conf   ext   sources   

原文地址:http://www.cnblogs.com/yadongliang/p/7327163.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!