committed by
GitHub
4 changed files with 69 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
@echo off |
|||
cls |
|||
|
|||
start .\start-http-api-host.bat LY.MicroService.IdentityServer identityserver --run |
|||
start .\start-http-api-host.bat LY.MicroService.IdentityServer.HttpApi.Host identityserver4-admin --run |
|||
start .\start-http-api-host.bat LY.MicroService.LocalizationManagement.HttpApi.Host localization --run |
|||
start .\start-http-api-host.bat LY.MicroService.PlatformManagement.HttpApi.Host platform --run |
|||
start .\start-http-api-host.bat LY.MicroService.RealtimeMessage.HttpApi.Host messages --run |
|||
start .\start-http-api-host.bat LY.MicroService.TaskManagement.HttpApi.Host task-management --run |
|||
start .\start-http-api-host.bat LY.MicroService.BackendAdmin.HttpApi.Host admin --run |
|||
ping -n 10 127.1 >nul |
|||
start .\start-internal-gateway.bat --run |
|||
@ -0,0 +1,29 @@ |
|||
@echo off |
|||
cls |
|||
chcp 65001 |
|||
|
|||
cd .\services\%1 |
|||
|
|||
if '%3' equ '--publish' goto publish |
|||
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 |
|||
|
|||
:publish |
|||
dotnet publish -c Release -o .\services\Publish\%2 --no-cache --no-restore |
|||
copy Dockerfile .\services\Publish\%2\Dockerfile |
|||
exit |
|||
|
|||
:run |
|||
dotnet run |
|||
exit |
|||
|
|||
:restore |
|||
dotnet restore |
|||
exit |
|||
|
|||
:efu |
|||
dotnet ef databse update |
|||
exit |
|||
@ -0,0 +1,26 @@ |
|||
@echo off |
|||
cls |
|||
chcp 65001 |
|||
|
|||
echo. 启动内部网关 |
|||
|
|||
cd ..\gateways\internal\LINGYUN.MicroService.Internal.ApiGateway\src\LINGYUN.MicroService.Internal.ApiGateway\ |
|||
|
|||
if '%1' equ '--publish' goto publish |
|||
if '%1' equ '--run' goto run |
|||
if '%1' equ '--restore' goto restore |
|||
if '%1' equ '' goto run |
|||
exit |
|||
|
|||
:publish |
|||
dotnet publish -c Release -o ..\..\..\..\..\aspnet-core\services\Publish\internal-apigateway --no-cache --no-restore |
|||
copy Dockerfile ..\..\..\..\..\aspnet-core\services\Publish\internal-apigateway\Dockerfile |
|||
exit |
|||
|
|||
:run |
|||
dotnet run |
|||
exit |
|||
|
|||
:restore |
|||
dotnet restore |
|||
exit |
|||
Loading…
Reference in new issue