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.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
Then preview the website in http://localhost:4000
Edit in GUI
Add /admin
behind the URL above
http://localhost:4000/admin/
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
To do this, you have to first shut down the server by pressing CTRT+C.
Then deploy to github:
1 | $ hexo cl //清除之前建立的靜態檔案,也可以輸入 hexo clean |
Or use this all-in-one-line command:
1 | hexo clean && hexo generate && hexo d |
Backup
1 | $ git add . |
Editor
Color
I am blue
underscore
Reference
More info: Deployment