mac+hexo+githubpage博客
1、装置brew
参考:https://zhuanlan.zhihu.com/p/...
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent...)"
1、装置nodejs
参考:https://www.jianshu.com/p/3b3...
brew link node
brew uninstall node
brew install node
3、装置npm
参考:https://www.jianshu.com/p/39b...
sudo npm install npm -g
4、装置hexo
参考:https://zhuanlan.zhihu.com/p/...
npm install -g hexo-cli
5、拉去博客仓库
https://github.com/wlxklyh/My...
6、本地预览
hexo g
hexo d
hexo server
7、提交到github 会拉起travis构建
https://travis-ci.org/
8、travis外面要设置仓库的提交token
9、最终成果
https://wlxklyh.github.io/
本文由博客群发一文多发等经营工具平台 OpenWrite 公布