Natu Matu
文章69
标签20
分类4
本站总访问量
本站访客数人次
Hexo常用指令/Hello world~

Hexo常用指令/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:How to write a new blog

Create a new post

1
$ hexo new "My New Post"

您可以在命令中指定文章的布局(layout),默认为 post,可以通过修改 _config.yml 中的 default_layout 参数来指定默认布局。
More info: Writing

Run server

1
$ hexo server

启动服务器,默认情况下,访问网址为[localhost:4000](http://localhost:4000)
More info: Server

Generate static files

1
$ hexo generate

生成静态文件,准备推送部署
More info: Generating

Deploy to remote sites

1
$ hexo deploy

部署到服务端
More info: Deployment

本文作者:Natu Matu
本文链接:https://631212502.github.io/2010/04/04/hello_Hexo%E5%B8%B8%E7%94%A8%E6%8C%87%E4%BB%A4%E9%9B%86/
版权声明:本文采用 CC BY-NC-SA 3.0 CN 协议进行许可
×