From 78c2cad474672d32677166c4a6c8b13108d2ed2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AE=8F?= Date: Mon, 14 Aug 2023 14:52:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=95=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=BF=90=E8=A1=8Cbat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/vue/run.bat | 1 + aspnet-core/start-internal-gateway.bat | 2 ++ starter/01.start-ids.bat | 4 ++++ starter/02.start-ids-admin.bat | 4 ++++ starter/03.start-localization.bat | 4 ++++ starter/04.start-platform.bat | 4 ++++ starter/05.start-messages.bat | 4 ++++ starter/06.start-task-management.bat | 4 ++++ starter/07.start-webhooks-management.bat | 4 ++++ starter/08.start-realtime-message.bat | 4 ++++ starter/09.start-workflow-management.bat | 4 ++++ starter/10.start-admin.bat | 4 ++++ starter/80.start-internal-gateway.bat | 4 ++++ starter/90.start-ui.bat | 5 +++++ starter/99.start-all.cmd | 9 +++++++++ 15 files changed, 61 insertions(+) create mode 100644 starter/01.start-ids.bat create mode 100644 starter/02.start-ids-admin.bat create mode 100644 starter/03.start-localization.bat create mode 100644 starter/04.start-platform.bat create mode 100644 starter/05.start-messages.bat create mode 100644 starter/06.start-task-management.bat create mode 100644 starter/07.start-webhooks-management.bat create mode 100644 starter/08.start-realtime-message.bat create mode 100644 starter/09.start-workflow-management.bat create mode 100644 starter/10.start-admin.bat create mode 100644 starter/80.start-internal-gateway.bat create mode 100644 starter/90.start-ui.bat create mode 100644 starter/99.start-all.cmd diff --git a/apps/vue/run.bat b/apps/vue/run.bat index b896a088e..b7538db13 100644 --- a/apps/vue/run.bat +++ b/apps/vue/run.bat @@ -1 +1,2 @@ +title abp-next-admin-vben npm run dev \ No newline at end of file diff --git a/aspnet-core/start-internal-gateway.bat b/aspnet-core/start-internal-gateway.bat index ceb09fc87..d38602273 100644 --- a/aspnet-core/start-internal-gateway.bat +++ b/aspnet-core/start-internal-gateway.bat @@ -2,6 +2,8 @@ cls chcp 65001 +title internal-apigateway + echo. 启动内部网关 cd ..\gateways\internal\LINGYUN.MicroService.Internal.ApiGateway\src\LINGYUN.MicroService.Internal.ApiGateway\ diff --git a/starter/01.start-ids.bat b/starter/01.start-ids.bat new file mode 100644 index 000000000..274356071 --- /dev/null +++ b/starter/01.start-ids.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.IdentityServer identityserver --run \ No newline at end of file diff --git a/starter/02.start-ids-admin.bat b/starter/02.start-ids-admin.bat new file mode 100644 index 000000000..6357b397a --- /dev/null +++ b/starter/02.start-ids-admin.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.IdentityServer.HttpApi.Host identityserver4-admin --run \ No newline at end of file diff --git a/starter/03.start-localization.bat b/starter/03.start-localization.bat new file mode 100644 index 000000000..3b564d396 --- /dev/null +++ b/starter/03.start-localization.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.LocalizationManagement.HttpApi.Host localization --run \ No newline at end of file diff --git a/starter/04.start-platform.bat b/starter/04.start-platform.bat new file mode 100644 index 000000000..066ec1191 --- /dev/null +++ b/starter/04.start-platform.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.PlatformManagement.HttpApi.Host platform --run \ No newline at end of file diff --git a/starter/05.start-messages.bat b/starter/05.start-messages.bat new file mode 100644 index 000000000..efda80408 --- /dev/null +++ b/starter/05.start-messages.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.RealtimeMessage.HttpApi.Host messages --run \ No newline at end of file diff --git a/starter/06.start-task-management.bat b/starter/06.start-task-management.bat new file mode 100644 index 000000000..ba18a7b32 --- /dev/null +++ b/starter/06.start-task-management.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.TaskManagement.HttpApi.Host task-management --run \ No newline at end of file diff --git a/starter/07.start-webhooks-management.bat b/starter/07.start-webhooks-management.bat new file mode 100644 index 000000000..0ed1619d5 --- /dev/null +++ b/starter/07.start-webhooks-management.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.WebhooksManagement.HttpApi.Host webhooks-management--run \ No newline at end of file diff --git a/starter/08.start-realtime-message.bat b/starter/08.start-realtime-message.bat new file mode 100644 index 000000000..98ed971e3 --- /dev/null +++ b/starter/08.start-realtime-message.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.RealtimeMessage.HttpApi.Host realtime-message --run \ No newline at end of file diff --git a/starter/09.start-workflow-management.bat b/starter/09.start-workflow-management.bat new file mode 100644 index 000000000..d9c663a43 --- /dev/null +++ b/starter/09.start-workflow-management.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.WorkflowManagement.HttpApi.Host workflow-management --run \ No newline at end of file diff --git a/starter/10.start-admin.bat b/starter/10.start-admin.bat new file mode 100644 index 000000000..51631cfdd --- /dev/null +++ b/starter/10.start-admin.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-http-api-host.bat LY.MicroService.BackendAdmin.HttpApi.Host admin --run \ No newline at end of file diff --git a/starter/80.start-internal-gateway.bat b/starter/80.start-internal-gateway.bat new file mode 100644 index 000000000..8499c238c --- /dev/null +++ b/starter/80.start-internal-gateway.bat @@ -0,0 +1,4 @@ +@echo off +cls +cd ..\aspnet-core\ +.\start-internal-gateway.bat --run \ No newline at end of file diff --git a/starter/90.start-ui.bat b/starter/90.start-ui.bat new file mode 100644 index 000000000..ad9797f4f --- /dev/null +++ b/starter/90.start-ui.bat @@ -0,0 +1,5 @@ +@echo off +cls +cd ../apps/vue/ +title abp-next-admin-ui +npm run dev \ No newline at end of file diff --git a/starter/99.start-all.cmd b/starter/99.start-all.cmd new file mode 100644 index 000000000..a03b5997a --- /dev/null +++ b/starter/99.start-all.cmd @@ -0,0 +1,9 @@ +@echo off +cls +title start-all +set stime=8 +for /f "delims=" %%i in ('dir *.bat *.cmd /b /s^|findstr /v /i "99.start-all.cmd"') do ( + echo %%i + start %%i + ping -n %stime% 127.1 >nul +) \ No newline at end of file