-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.ps1
More file actions
17 lines (12 loc) · 778 Bytes
/
run.ps1
File metadata and controls
17 lines (12 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# DevFolio Microservices Start-up Script
Write-Host "Starting DevFolio Microservices..." -ForegroundColor Cyan
# Start Service Registry
Write-Host "Starting Service Registry in a new window..." -ForegroundColor Green
Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd devfolio-service-registry; ./mvnw spring-boot:run"
# Wait
Write-Host "Waiting 15 seconds for Service Registry to initialize..." -ForegroundColor Yellow
Start-Sleep -Seconds 15
# Start API Gateway
Write-Host "Starting API Gateway in a new window..." -ForegroundColor Green
Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd devfolio-api-gateway; ./mvnw spring-boot:run"
Write-Host "Both services are starting up. Check the individual windows for logs." -ForegroundColor White