My Hexo Blog

Hexo and GitHub

  1. Installation

    1
    $ npm install hexo-cli -g
  2. Quick Start
    Setup your blog

    1
    2
    $ hexo init blog
    $ cd blog
  3. Start the server

    1
    $ hexo server
  4. Create a new post

    1
    $ hexo new "Hello Hexo"
  5. Generate static files

    1
    $ hexo generate
  6. use git

    1
    npm install hexo-deployer-git –save
  7. hexo 插件

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    $ npm install hexo-generator-index --save
    $ npm install hexo-generator-archive --save
    $ npm install hexo-generator-category --save
    $ npm install hexo-generator-tag --save
    $ npm install hexo-server --save
    $ npm install hexo-deployer-git --save
    $ npm install hexo-deployer-heroku --save
    $ npm install hexo-deployer-rsync --save
    $ npm install hexo-deployer-openshift --save
    $ npm install hexo-renderer-marked --save
    $ npm install hexo-renderer-stylus --save
    $ npm install hexo-generator-feed --save
    $ npm install hexo-generator-sitemap --save
Contents
  1. 1. Hexo and GitHub
|