Hello World

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

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

发表文章

新建文章

1
$ hexo n "我的博客" == hexo new "我的博客"

发表草稿

1
$ hexo p == hexo publish

生成静态文件

1
$ hexo g == hexo generate

启动服务预览

1
$ hexo s == hexo server

部署到远程

1
$ hexo d == hexo deploy

清理缓存

清除缓存文件 (db.json) 和已生成的静态文件 (public)

1
$ hexo clean

版本

查看Hexo运行版本

1
$ hexo version

参考

[1].Hexo博客搭建(1)——建站及部署