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
新建文章
1 | $ hexo new "My New Post" #文件名称 |
More info: Writing
开启预览访问端口
1 | $ hexo server #默认端口4000 |
如默认端口被占用,则
1 | $ hexo s -p 5000 |
More info: Server
清除缓存,网页正常情况下可以忽略此条命令
1 | $ hexo clean |
生成静态页面至public目录
1 | $ hexo generate |
More info: Generating
将.deploy目录部署到GitHub
1 | $ hexo deploy |
More info: Deployment