一、新建一篇文章json
hexo new "文章名称"
二、启动服务器。默认状况下,访问网址为: http://localhost:4000/。缓存
http://localhost:4000/
hexo s
三、部署服务器
(1)清除缓存文件 (db.json) 和已生成的静态文件 (public)。hexo
db.json
public
hexo clean
(2)生成静态文件。网站
hexo g
(3)部署网站。部署以前预先生成静态文件,执行第二步 hexo gcode
hexo d
【注】官方文档blog