准备工作
需要安装的有:
- git
- nodejs
- hexo
Git
首先需要在gitbub上注册自己的账户, 然后新建一个自己的仓库。仓库名必须是: username.github.io
nodejs
安装最新版本的nodejs
hexo
安装hexo特别简单
- windows在cmder或者Git bash执行:
1
| $ npm install hexo-cli -g
|
1 2 3 4
| $ cd path/to/your/blod $ hexo init blog $ hexo g $ hexo s
|