Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit d72ee74

Browse files
author
timochan-cn
committed
add : git lfs command for kami
1 parent fca70da commit d72ee74

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

docs/deploy/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Node版本选择 Node 16.X ,稳定版本是 Node 16.13.x
5252

5353
Debian / Ubuntu ,Redhat 系同理(自行参考)。
5454
```bash
55-
sudo apt update && sudo apt install git curl vim wget -y
55+
sudo apt update && sudo apt install git curl vim wget git-lfs -y
5656
```
5757

5858

@@ -168,7 +168,17 @@ git clone https://gitee.com/a1435241/kami.git
168168
cd kami && git fetch --tags && git checkout $(git rev-list --tags --max-count=1)
169169
```
170170

171+
拉取图片文件
172+
173+
```bash
174+
git lfs fetch --all
175+
git lfs pull
176+
```
177+
178+
注意:如果无法正常拉取,可以到 GitHub 上手动下载。
179+
171180
执行该命令
181+
172182
```bash
173183
cp .env.example .env
174184
```

docs/deploy/tencent.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ order: 2
4545
Node版本选择 Node 16.X ,稳定版本是 Node 16.13.x
4646

4747
```bash
48-
sudo apt update && sudo apt install git curl vim wget -y
48+
sudo apt update && sudo apt install git curl vim wget git-lfs -y
4949
# 安装相关软件
5050
sudo su
5151
npm install -g pnpm pm2
@@ -140,6 +140,14 @@ git clone https://gitee.com/a1435241/kami.git
140140
```bash
141141
cd kami && git fetch --tags && git checkout $(git rev-list --tags --max-count=1)
142142
```
143+
拉取图片文件
144+
145+
```bash
146+
git lfs fetch --all
147+
git lfs pull
148+
```
149+
150+
注意:如果无法正常拉取,可以到 GitHub 上手动下载。
143151

144152
执行该命令
145153

0 commit comments

Comments
 (0)