44 lines
866 B
Markdown
44 lines
866 B
Markdown
---
|
|
title: Hello World
|
|
date: 2020-03-18 16:05:50
|
|
categories:
|
|
- others
|
|
---
|
|
[Hexo](https://hexo.io/) 自带的一篇文章,里面介绍了 Hexo 的几个常用的命令。第一篇文章我就保留它的内容,以便日后使用时作为参考。同时以此为纪念。
|
|
|
|
<div style="text-align: right"> ZhouXY </div>
|
|
|
|
## 快点开始吧
|
|
|
|
### 新建文章
|
|
|
|
``` bash
|
|
$ hexo new "My New Post"
|
|
```
|
|
|
|
查看更多: [Writing](https://hexo.io/docs/writing.html)
|
|
|
|
### 启动服务器
|
|
|
|
``` bash
|
|
$ hexo server
|
|
```
|
|
|
|
查看更多: [Server](https://hexo.io/docs/server.html)
|
|
|
|
### 生成静态文件
|
|
|
|
``` bash
|
|
$ hexo generate
|
|
```
|
|
|
|
查看更多: [Generating](https://hexo.io/docs/generating.html)
|
|
|
|
### 部署到远程站点
|
|
|
|
``` bash
|
|
$ hexo deploy
|
|
```
|
|
|
|
查看更多: [Deployment](https://hexo.io/docs/one-command-deployment.html)
|