chore: add npm entrypoints for openclawtest flows / 新增 openclawtest 流程的 npm 入口
This commit is contained in:
24
INSTALL.md
24
INSTALL.md
@@ -29,6 +29,12 @@ Fastest path:
|
||||
bash scripts/install-openclawtest-poc.sh
|
||||
```
|
||||
|
||||
Equivalent npm script:
|
||||
|
||||
```bash
|
||||
npm run install:openclawtest
|
||||
```
|
||||
|
||||
This does two things:
|
||||
|
||||
1. refreshes the live `openclawtest` PoC by reapplying the patch and restarting the gateway
|
||||
@@ -55,6 +61,12 @@ bash scripts/apply-openclaw-poc-patch.sh /home/openclawtest/.nvm/versions/node/v
|
||||
bash scripts/refresh-openclawtest-poc.sh
|
||||
```
|
||||
|
||||
Equivalent npm script:
|
||||
|
||||
```bash
|
||||
npm run refresh:openclawtest
|
||||
```
|
||||
|
||||
### Verify current live state
|
||||
|
||||
```bash
|
||||
@@ -63,12 +75,24 @@ bash scripts/verify-openclaw-poc.sh \
|
||||
/home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist
|
||||
```
|
||||
|
||||
Equivalent npm script:
|
||||
|
||||
```bash
|
||||
npm run verify:openclawtest
|
||||
```
|
||||
|
||||
### Rollback
|
||||
|
||||
```bash
|
||||
bash scripts/rollback-openclaw-poc-patch.sh /home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist
|
||||
```
|
||||
|
||||
Equivalent npm script:
|
||||
|
||||
```bash
|
||||
npm run rollback:openclawtest
|
||||
```
|
||||
|
||||
## What success looks like
|
||||
|
||||
After install/refresh:
|
||||
|
||||
Reference in New Issue
Block a user