https://github.com/heycn/blog
my blog repo
https://github.com/heycn/blog
Last synced: about 1 month ago
JSON representation
my blog repo
- Host: GitHub
- URL: https://github.com/heycn/blog
- Owner: heycn
- Created: 2022-12-09T06:02:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T08:13:14.000Z (about 2 years ago)
- Last Synced: 2024-12-28T22:29:53.764Z (about 1 year ago)
- Language: CSS
- Size: 752 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My blog
## 如何开发
### 安装 Hexo
```bash
npm install -g hexo-cli
```
### 新建文章
```bash
hexo new '文章名'
```
### 本地预览
```bash
hexo s
```
---
## 如何部署
### 生成静态文件
> 建议在 `hexo g` 之前执行 `hexo clean` 清除缓存
```bash
hexo g
```
### 部署至远程
> 需要在根目录下 `_config.yml` 中配置 `deploy` 的字段
```bash
hexo deploy
```