[Hexo]Create a blog with hexo in github
copy local ssh public key to github
install npm, git
install hexo by npm
1
npm install
init hexo
1
hexo init
install other softwares by npm
1
npm install
edit file “_config.yml” and write your git address
1
2
3
4deploy:
type: git
repository: github项目地址
branch: masterinstall hexo deployment tool
1
npm install hexo-deployer-git --save
generate static pages by hexo
1
hexo g
deploy static pages to github
1
hexo d
using local tool to pre-check your blog
1
hexo s
access to your github blog
1
http://用户名.github.io