From cb1b0e4e7ef59c9f7528b0d0c889ed404dd6197a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Tue, 18 Apr 2023 03:48:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=E5=BE=AE=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=8A=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++ ...ider_Remote.xml => Dev_AccessProvider.xml} | 4 +-- .../{Gateway_Remote.xml => Dev_Gateway.xml} | 4 +-- ...ovider_Remote.xml => Dev_ShopProvider.xml} | 4 +-- ...ovider_Remote.xml => Dev_TestProvider.xml} | 4 +-- ...ovider_Remote.xml => Dev_UserProvider.xml} | 4 +-- ...ssProvider.xml => Prod_AccessProvider.xml} | 5 +++- .../{Gateway.xml => Prod_Gateway.xml} | 5 +++- ...ShopProvider.xml => Prod_ShopProvider.xml} | 5 +++- ...TestProvider.xml => Prod_TestProvider.xml} | 5 +++- .../runConfigurations/Prod_UserProvider_.xml | 19 ++++++++++++ .../.idea/runConfigurations/UserProvider.xml | 10 ------- backend/microservice-gateway/pom.xml | 29 +++++++++++++++++++ ...ion-remote.yml => application-develop.yml} | 1 + .../main/resources/application-production.yml | 6 ++++ .../src/main/resources/application.yml | 1 + .../microservice-provider-access-8002/pom.xml | 12 ++++++++ ...ion-remote.yml => application-develop.yml} | 1 + .../main/resources/application-production.yml | 10 +++++++ .../src/main/resources/application.yml | 1 + .../microservice-provider-shop-8003/pom.xml | 28 ++++++++++++++++++ ...ion-remote.yml => application-develop.yml} | 1 + .../main/resources/application-production.yml | 10 +++++++ .../src/main/resources/application.yml | 1 + ...ion-remote.yml => application-develop.yml} | 1 + .../main/resources/application-production.yml | 6 ++++ .../src/main/resources/application.yml | 1 + .../microservice-provider-user-8001/pom.xml | 12 ++++++++ ...ion-remote.yml => application-develop.yml} | 1 + .../main/resources/application-production.yml | 10 +++++++ .../src/main/resources/application.yml | 1 + 31 files changed, 188 insertions(+), 24 deletions(-) rename backend/.idea/runConfigurations/{AccessProvider_Remote.xml => Dev_AccessProvider.xml} (64%) rename backend/.idea/runConfigurations/{Gateway_Remote.xml => Dev_Gateway.xml} (73%) rename backend/.idea/runConfigurations/{ShopProvider_Remote.xml => Dev_ShopProvider.xml} (73%) rename backend/.idea/runConfigurations/{TestProvider_Remote.xml => Dev_TestProvider.xml} (73%) rename backend/.idea/runConfigurations/{UserProvider_Remote.xml => Dev_UserProvider.xml} (73%) rename backend/.idea/runConfigurations/{AccessProvider.xml => Prod_AccessProvider.xml} (60%) rename backend/.idea/runConfigurations/{Gateway.xml => Prod_Gateway.xml} (70%) rename backend/.idea/runConfigurations/{ShopProvider.xml => Prod_ShopProvider.xml} (70%) rename backend/.idea/runConfigurations/{TestProvider.xml => Prod_TestProvider.xml} (70%) create mode 100644 backend/.idea/runConfigurations/Prod_UserProvider_.xml delete mode 100644 backend/.idea/runConfigurations/UserProvider.xml rename backend/microservice-gateway/src/main/resources/{application-remote.yml => application-develop.yml} (75%) create mode 100644 backend/microservice-gateway/src/main/resources/application-production.yml rename backend/microservice-provider-access-8002/src/main/resources/{application-remote.yml => application-develop.yml} (89%) create mode 100644 backend/microservice-provider-access-8002/src/main/resources/application-production.yml rename backend/microservice-provider-shop-8003/src/main/resources/{application-remote.yml => application-develop.yml} (89%) create mode 100644 backend/microservice-provider-shop-8003/src/main/resources/application-production.yml rename backend/microservice-provider-test-8011/src/main/resources/{application-remote.yml => application-develop.yml} (75%) create mode 100644 backend/microservice-provider-test-8011/src/main/resources/application-production.yml rename backend/microservice-provider-user-8001/src/main/resources/{application-remote.yml => application-develop.yml} (89%) create mode 100644 backend/microservice-provider-user-8001/src/main/resources/application-production.yml diff --git a/README.md b/README.md index 322e15d..f00d091 100644 --- a/README.md +++ b/README.md @@ -330,6 +330,16 @@ window.wsUrl = 'ws://127.0.0.1:80/access/websocket/1'; +##### 打 jar 包 + +IDEA 中右侧 Maven 双击 Lifestyle 的 package,打包完成后的 jar 包可在以下位置找到 +- backend/microservice-gateway/target/microservice-gateway-0.0.1-SNAPSHOT.jar +- backend/microservice-provider-user-8001/target/microservice-provider-user-8001-0.0.1-SNAPSHOT.jar +- backend/microservice-provider-access-8002/target/microservice-provider-access-8002-0.0.1-SNAPSHOT.jar +- backend/microservice-provider-shop-8003/target/microservice-provider-shop-8003-0.0.1-SNAPSHOT.jar + + + #### nginx 代理配置(可选) 配置文件在 `nginx-conf` 目录下(不能直接拿来用,需要根据自己的实际情况来改) diff --git a/backend/.idea/runConfigurations/AccessProvider_Remote.xml b/backend/.idea/runConfigurations/Dev_AccessProvider.xml similarity index 64% rename from backend/.idea/runConfigurations/AccessProvider_Remote.xml rename to backend/.idea/runConfigurations/Dev_AccessProvider.xml index 50e3e19..a8420cc 100644 --- a/backend/.idea/runConfigurations/AccessProvider_Remote.xml +++ b/backend/.idea/runConfigurations/Dev_AccessProvider.xml @@ -1,7 +1,7 @@ - + - +