|
|
|
@ -11,9 +11,12 @@ $webPublicGatewayFolder = Join-Path $slnFolder "gateways/web-public/src/EShopOnA |
|
|
|
|
|
|
|
$identityServiceFolder = Join-Path $slnFolder "services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host" |
|
|
|
$administrationServiceFolder = Join-Path $slnFolder "services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host" |
|
|
|
$catalogServiceFolder = Join-Path $slnFolder "services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host" |
|
|
|
$paymentServiceFolder = Join-Path $slnFolder "services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host" |
|
|
|
$orderingServiceFolder = Join-Path $slnFolder "services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host" |
|
|
|
|
|
|
|
### Angular WEB App(WWW) |
|
|
|
Write-Host "*** BUILDING WEB (WWW) 1/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING WEB (WWW) 1/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $webAppFolder |
|
|
|
yarn |
|
|
|
# ng build --prod |
|
|
|
@ -21,41 +24,59 @@ npm run build:prod |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/app-web:$version . |
|
|
|
|
|
|
|
### AUTH-SERVER |
|
|
|
Write-Host "*** BUILDING AUTH-SERVER 2/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING AUTH-SERVER 2/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $authserverFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/app-authserver:$version . |
|
|
|
|
|
|
|
### PUBLIC-WEB |
|
|
|
Write-Host "*** BUILDING WEB-PUBLIC 3/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING WEB-PUBLIC 3/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $publicWebFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/app-publicweb:$version . |
|
|
|
|
|
|
|
### WEB-GATEWAY |
|
|
|
Write-Host "*** BUILDING WEB-GATEWAY 4/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING WEB-GATEWAY 4/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $webGatewayFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/gateway-web:$version . |
|
|
|
|
|
|
|
### PUBLICWEB-GATEWAY |
|
|
|
Write-Host "*** BUILDING WEB-PUBLIC-GATEWAY 5/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING WEB-PUBLIC-GATEWAY 5/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $webPublicGatewayFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/gateway-web-public:$version . |
|
|
|
|
|
|
|
### IDENTITY-SERVICE |
|
|
|
Write-Host "*** BUILDING IDENTITY-SERVICE 6/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING IDENTITY-SERVICE 6/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $identityServiceFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/service-identity:$version . |
|
|
|
|
|
|
|
### ADMINISTRATION-SERVICE |
|
|
|
Write-Host "*** BUILDING ADMINISTRATION-SERVICE 7/7 ****************" -ForegroundColor Green |
|
|
|
Write-Host "*** BUILDING ADMINISTRATION-SERVICE 7/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $administrationServiceFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/service-administration:$version . |
|
|
|
|
|
|
|
### CATALOG-SERVICE |
|
|
|
Write-Host "**************** BUILDING CATALOG-SERVICE 8/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $catalogServiceFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/service-catalog:$version . |
|
|
|
|
|
|
|
### PAYMENT-SERVICE |
|
|
|
Write-Host "**************** BUILDING PAYMENT-SERVICE 9/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $paymentServiceFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/service-payment:$version . |
|
|
|
|
|
|
|
### ORDERING-SERVICE |
|
|
|
Write-Host "**************** BUILDING ORDERING-SERVICE 10/10 ****************" -ForegroundColor Green |
|
|
|
Set-Location $orderingServiceFolder |
|
|
|
dotnet publish -c Release |
|
|
|
docker build -f Dockerfile.local -t eshoponabp/service-ordering:$version . |
|
|
|
|
|
|
|
### ALL COMPLETED |
|
|
|
Write-Host "ALL COMPLETED" -ForegroundColor Green |
|
|
|
Set-Location $currentFolder |