npm install hexo-cli -g
hexo init generates directories, files, etc.
(sudo) hexo g(generate) generate static files
(sudo) hexo s(server) Access http://localhost:4000/ with a browser
=============================================
_config.yml
deploy:
type: git
repository: github project address
branch: master
hexo g
hexo d(deploy) deploy to github
hexo clean
Hexo deployment failed error deployer not foud, execute npm install hexo-deployer-git --save