From c89330778a041a9c4a3d791ed65126139eb0d725 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:02:43 +0800 Subject: [PATCH 1/6] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ README.zh-CN.md | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index c5d21f1a6..12a6dd01c 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](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) + +2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) + +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 + + Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` `url search` Parameters: diff --git a/README.zh-CN.md b/README.zh-CN.md index 4ab41b55a..b7a4e6fc9 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](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) + +2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) + +3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: + +修改端口 + + 浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` `url search`参数: From d754ab686df44c01a99f2d90b5dbd9dcea9a12b6 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:15:24 +0800 Subject: [PATCH 2/6] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 12a6dd01c..24f96c447 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ $ pnpm dev ## Local development, directly connected to the local tiny-engine-webservice server -1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) +1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} -2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) +2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} 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: diff --git a/README.zh-CN.md b/README.zh-CN.md index b7a4e6fc9..3b99a29d6 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -39,9 +39,9 @@ $ pnpm dev ### 本地开发,直连本地的tiny-engine-webservice服务端 -1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) +1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} -2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) +2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: From 7d03c917c8fc79f5f5dcc102c191b4ea585910c2 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:16:23 +0800 Subject: [PATCH 3/6] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24f96c447..6987ddb63 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ $ pnpm dev 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 +Modify port Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` diff --git a/README.zh-CN.md b/README.zh-CN.md index 3b99a29d6..dd3cc63a1 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -45,7 +45,7 @@ $ pnpm dev 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: -修改端口 +修改端口 浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` From cbe301fc1b10bb0d20419d70ce1c983e59f8f892 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:20:16 +0800 Subject: [PATCH 4/6] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6987ddb63..6be8856db 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ $ pnpm dev ## Local development, directly connected to the local tiny-engine-webservice server -1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} +1. Start tiny-engine-data-center -2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} +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: diff --git a/README.zh-CN.md b/README.zh-CN.md index dd3cc63a1..fd489450e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -39,9 +39,9 @@ $ pnpm dev ### 本地开发,直连本地的tiny-engine-webservice服务端 -1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} +1. 启动 tiny-engine-data-center -2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} +2. 启动 tiny-engine-webservice 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: From 02c0b7c6ad5809a7e27bdc0b5f8875f493ddf181 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 16:16:34 +0800 Subject: [PATCH 5/6] =?UTF-8?q?docs(readme):=20=E6=9B=B4=E6=96=B0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index fd489450e..64edd8144 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -45,7 +45,7 @@ $ pnpm dev 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: -修改端口 +修改端口 浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` From 0af8986d5c1a41ec34b0b79223972a4b0622dfb1 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 16:22:10 +0800 Subject: [PATCH 6/6] =?UTF-8?q?docs(readme):=20=E6=9B=B4=E6=96=B0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6be8856db..fbf83a6f3 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ $ pnpm dev 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 +Modify port Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc`