你好,色彩

Hello World

新博客:GitHub + Hexo

安装Node.js、Git

1
2
3
Node.js
&
Git

配置GtiHub

1
2
3
4
5
6
7
生成密钥:ssh-keygen -t rsa -C "911@zhaoqun911.cn"

将配置到GitHub: Account Settings—->SSH Public keys —-> add another public keys(C:\Users\xx\.ssh\id_rsa.pub)

测试:ssh -T git@github.com

设置用户信息:git config --global user.name "xx"; git config --global user.email "xx"

安装、配置hexo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
npm install -g hexo

cd blog

hexo init

npm install

cd theme

git clone git@github.com:litten/hexo-theme-yilia yilia

修改配置文件:theme:yilia

hexo g

hexo server

发布

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cd public

git init

git remote add blog git@github.com:zhaoqun1021/zhaoqun1021.github.io

将所有文件备份

git pull blog master

将备份的文件再覆盖回来

git add *

git commit -m 'cc'

git push blog master

Other

1
2
3
4
5
6
7
8
9
10
11
12
13
_config.yml:
archive_dir:归档位置?
category_dir:分类URL名称?

主题:
hexo-theme-yilia

编辑器:
sublime + MarkdownEditing + MarkdownPreview
http://www.jianshu.com/p/378338f10263
插件:
package install + imesurpport
http://qianduanblog.com/post/sublime-text-3-plugin-imesupport.html