关于android:machexogithubpage博客

6次阅读

共计 532 个字符,预计需要花费 2 分钟才能阅读完成。

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 公布

正文完
 0