hexo的一些常用命令

Quick Start

Create a new post

1
$ hexo new "My New Post"

开启本地预览服务

打开浏览器访问 http://localhost:4000 即可看到内容

1
$ hexo s

一键部署服务器上

1
$ hexo clean; hexo generate; hexo deploy

Generate static files

1
$ hexo generate

Deploy to remote sites

1
$ hexo deploy