This post talks about how to setup Hexo in Windows and host a site in GitHub.
Install tools for Hexo
-
Download and install lastest version of Node.js.
-
Install git if you haven’t done so.
-
Install Hexo:
npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo g
# orhexo generate
hexo s
# orhexo server
hexo d
# orhexo deploy
-
Create a new post
hexo new "My New Post"