hexo 安装

$ cd ~/.ssh
$ ssh-keygen -t rsa -C "mail@example.com"
$ cat ~/.ssh/id_rsa.pub
$ ssh -T git@git.coding.net

$ git config --global user.email "mail@example.com"
$ git config --global user.name "example"

$ npm install hexo-cli -g
$ hexo init
$ npm install
$ hexo server

$ npm install hexo-deployer-git --save
$ npm install hexo-generator-feed --save
$ npm install hexo-generator-sitemap --save
$ npm install hexo-generator-baidu-sitemap --save

deploy:
  type: git
  repository: git@git.coding.net:example/hexo.git
  branch: coding-pages
feed:
  type: atom
  path: atom.xml
  limit: 20
sitemap:
  path: sitemap.xml
baidusitemap:
  path: baidusitemap.xml

$ hexo generate
$ hexo deploy