Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Cheatsheet
Installation
1 | npm install hexo -g #install |
Shorthands
1 | hexo n #hexo new |
Server
1 | hexo server #Hexo will watch files, don't need to restart server |
Watching
1 | hexo generate |
Deploy
1 | hexo generate --deploy |
Posts
1 | hexo new "postName" # new post _posts/postName.md |
Quick Start
Command line reference: Commands | Hexo
Installation with github: How to use Hexo and deploy to GitHub Pages
Next theme: Hexo搭建GitHub博客(三)- NexT主题配置使用 | Zhiho’s Blog
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment