Browse Source
修改启用所有服务的bat文件,中间增加时间间隔,提升启动速度 修改bat文件增加标题及生成时的项目提示,方便查看 增加缺少的本地化文字 修改single项目的连接字符串pull/861/head
6 changed files with 74 additions and 10 deletions
@ -0,0 +1,19 @@ |
|||
@echo off |
|||
cls |
|||
set stime=8 |
|||
|
|||
start .\migrate-db-cmd.bat LY.MicroService.BackendAdmin.DbMigrator admin --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.AuthServer.DbMigrator auth-server --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.IdentityServer.DbMigrator identityserver4-admin --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.LocalizationManagement.DbMigrator localization --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.Platform.DbMigrator platform --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.RealtimeMessage.DbMigrator messages --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.TaskManagement.DbMigrator task-management --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\migrate-db-cmd.bat LY.MicroService.WebhooksManagement.DbMigrator webhooks-management --run |
|||
@ -0,0 +1,28 @@ |
|||
@echo off |
|||
cls |
|||
chcp 65001 |
|||
|
|||
title %2 |
|||
|
|||
@echo %2 migration running |
|||
|
|||
cd .\migrations\%1 |
|||
|
|||
if '%3' equ '--run' goto run |
|||
if '%3' equ '--restore' goto restore |
|||
if '%3' equ '--ef-u' goto efu |
|||
if '%3' equ '' goto run |
|||
exit |
|||
|
|||
:run |
|||
dotnet run |
|||
pause |
|||
exit |
|||
|
|||
:restore |
|||
dotnet restore |
|||
exit |
|||
|
|||
:efu |
|||
dotnet ef databse update |
|||
exit |
|||
@ -1,12 +1,25 @@ |
|||
@echo off |
|||
cls |
|||
set stime=8 |
|||
|
|||
start .\start-http-api-host.bat LY.MicroService.IdentityServer identityserver --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.IdentityServer.HttpApi.Host identityserver4-admin --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.LocalizationManagement.HttpApi.Host localization --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.PlatformManagement.HttpApi.Host platform --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.RealtimeMessage.HttpApi.Host messages --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.TaskManagement.HttpApi.Host task-management --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.WebhooksManagement.HttpApi.Host webhooks-management--run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.RealtimeMessage.HttpApi.Host realtime-message --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.WorkflowManagement.HttpApi.Host workflow-management --run |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-http-api-host.bat LY.MicroService.BackendAdmin.HttpApi.Host admin --run |
|||
ping -n 10 127.1 >nul |
|||
ping -n %stime% 127.1 >nul |
|||
start .\start-internal-gateway.bat --run |
|||
Loading…
Reference in new issue