Hexo Installation
Install Nodejs
Install hexo
1 | $ npm install -g hexo-cli |
Create blog folder
1 | $ hexo init blog |
Install deployer and next theme
1 | $ npm install hexo-deployer-git |
Copy and customize theme file
1 | $ cp node-modules/hexo-theme-next/_config.yml _config.next.yml |
Create new post
1 | $ hexo n "post-title" |
Generate
1 | $ hexo g |
Local testing server
1 | $ hexo s # or hexo s -g for generate |
Deploy
1 | $ hexo d # or hexo d -g for generate |