feat: improve agent management and speed up tests
This commit is contained in:
1 parent
134c06d605
commit
193fc3a95c
28 files changed
+419
-57
No files matched your search
+2
-2
@@ -10,9 +10,9 @@
|
||||
|
||||
```sh
|
||||
npm install # 在 web/ 下一次装好两个工程的依赖(npm workspaces)
|
||||
npm run dev # 两个一起启动
|
||||
npm run dev # 两个一起启动:展示端 http://localhost:5173/ ,管理端 http://localhost:5173/admin/(也可以直接开 5175)
|
||||
BACKEND_URL=https://mo.oeo.one npm run dev:display # http://127.0.0.1:5173/
|
||||
BACKEND_URL=https://mo.oeo.one npm run dev:admin # http://127.0.0.1:5174/admin/
|
||||
BACKEND_URL=https://mo.oeo.one npm run dev:admin # http://127.0.0.1:5175/admin/
|
||||
# 或者把 .env.example 复制成 .env.local,写好 BACKEND_URL,之后直接 npm run dev:display
|
||||
npm run build # 各自输出到 display/dist 和 admin/dist
|
||||
npm run gen:api # 后端接口变了之后,重新生成 shared/api/schema.ts
|
||||
|
||||
Reference in new issue
Block a user