1.安装git nodejs hexo
npm install hexo --no-optional
2.执行
npm install
3.安装各种主题theme ,这里我是fork的jacman的版本 对其进行了一些简单的修改而已。
git clone https://github.com/wanghaisheng/jacman.git themes/jacman
4.本地测试
hexo g
hexo s
就可以在浏览器上键入localhost:4000
5 发布到远程分支
hexo d