From e8b2e58c0057d1ac42ca6bc0deb2256b1b59c1ee Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 00:51:27 -0800 Subject: [PATCH] =?UTF-8?q?feat(docs):=20=E5=A2=9E=E5=8A=A0=E8=B7=9F?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E5=90=8E=E7=AB=AF=E7=9B=B4=E8=BF=9E=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E6=A1=88=20(#208)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs(readme): 增加后端的启动描述 --- README.md | 11 +++++++++++ README.zh-CN.md | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index 47e55b3..aeaa276 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,17 @@ $ pnpm install $ pnpm dev ``` +## Local development, directly connected to the local tiny-engine-webservice server + +1. Start tiny-engine-data-center + +2. Start tiny-engine-webservice + +3. Modify the origin value in `vite.config.js` in the `packages/design-core/` directory of the tiny-engine project to be the address port of your local webService project (the webService port defaults to 7011), such as: + +Modify port + + ### Materials Synchronization [Solution](https://opentiny.design/tiny-engine#/help-center/course/engine/56) ```sh diff --git a/README.zh-CN.md b/README.zh-CN.md index 907a171..d0209b2 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -37,6 +37,17 @@ $ pnpm install $ pnpm dev ``` +### 本地开发,直连本地的tiny-engine-webservice服务端 + +1. 启动 tiny-engine-data-center + +2. 启动 tiny-engine-webservice + +3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: + +修改端口 + + ### 物料同步[方案](https://opentiny.design/tiny-engine#/help-center/course/engine/56) ```sh