标签:
(前提是已经安装Xcode和git)
bash npm install -g hexo
hexo init nodejsHexoBlog
hexo new ‘Mac 前端环境配置‘
hexo server
hexo generate || hexo g
url: https://github.com/****/nodeHexoBlog.github.io
root: /nodeHexoBlog.github.io
deploy:
type: git
repo: git@github.com:****/nodeHexoBlog.github.io.git
npm install hexo-deployer-git --save
hexo deploy || hexo d
标签:
原文地址:http://www.cnblogs.com/lhy-93/p/5801659.html