Skip to content

Commit 6c543e1

Browse files
authored
Merge pull request #679 from terwer/dev
docsvelopment(de): update Node Provider mode maintenance instructions
2 parents 0e51033 + 5ae8179 commit 6c543e1

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

DEVELOPMENT.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,26 @@ artifacts structure
8989
├── build
9090
├── package.zip
9191
├── siyuan-plugin-blog-5.4.0.zip
92+
```
93+
94+
## Node Provider Mode Maintenance
95+
96+
1. Build
97+
98+
```bash
99+
pnpm buildNodeProvider
100+
pnpm packageNodeProvider
101+
```
102+
103+
2. FTP upload `build/node-provider.zip` and replace, then extract and install
104+
105+
```bash
106+
mv dist dist_bak
107+
./install.sh
108+
```
109+
110+
3. Start command
111+
112+
```bash
113+
pnpm start
92114
```

DEVELOPMENT_zh_CN.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,26 @@ pnpm package
9292
├── build
9393
├── package.zip
9494
├── siyuan-plugin-blog-5.4.0.zip
95+
```
96+
97+
## 服务商模式维护
98+
99+
1. 打包
100+
101+
```
102+
pnpm buildNodeProvider
103+
pnpm packageNodeProvider
104+
```
105+
106+
2. 然后 ftp 上传 `build/node-provider.zip` 并替换,接着解压安装
107+
108+
```
109+
mv dist dist_bak
110+
./install.sh
111+
```
112+
113+
3. 启动命令
114+
115+
```
116+
pnpm start
95117
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "turbo run lint",
1111
"clean": "./scripts/clean.sh",
1212
"start": "./startup.sh",
13-
"buildNodeProbuildNodeProvidervider": "./build-node-provider.sh",
13+
"buildNodeProvider": "./build-node-provider.sh",
1414
"packageNodeProvider": "./package-node-provider.sh",
1515
"package": "python scripts/package.py",
1616
"syncVersion": "python scripts/version.py",

0 commit comments

Comments
 (0)