今天review了x易的课,发现csdn博客实在是。。。没有关注度
今天开始转github.io,用jekyllrb写博客,目标找工作前拿到人生第一个star!
步骤:
1. github.io配套设施搞好
2. nodejs写一个转换脚本
3. 迁移!
目标:
- 拿到一个star
- 每天contibute
- 有这种效果就挺好:somebodysblog
问题:
Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org
解决方法:
gem sources -a https://ruby.taobao.org/
gem sources -l
gem sources --remove https://rubygems.org
干,git不能用, ssl error
sudo git config http.sslVerify false
sudo git config --global http.sslverify false
步骤
去github.io根目录
jekyll new .
修改_config.yml
# 加一行,否则build报错
highlighter : null
build
jekyll build
调试: 非常蛋疼,因为jekyll serve 只能在127.0.0.1跑?