[Hexo]Create a blog with hexo in github

hexo

  1. copy local ssh public key to github

  2. install npm, git

  3. install hexo by npm

    1
    npm install
  4. init hexo

    1
    hexo init
  5. install other softwares by npm

    1
    npm install
  6. edit file “_config.yml” and write your git address

    1
    2
    3
    4
    deploy:
    type: git
    repository: github项目地址
    branch: master
  7. install hexo deployment tool

    1
    npm install hexo-deployer-git --save
  8. generate static pages by hexo

    1
    hexo g
  9. deploy static pages to github

    1
    hexo d
  10. using local tool to pre-check your blog

    1
    hexo s
  11. access to your github blog

    1
    http://用户名.github.io