-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.ps1
24 lines (20 loc) · 799 Bytes
/
run.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# run discovery-b -> mvn spring-boot:run
# run service-b -> mvn spring-boot:run
# run ui-b -> mvn spring-boot:run
function Start-DiscoveryB {
# run the command in a new process
Start-Process -FilePath "cmd.exe" -ArgumentList "/c mvn clean install && mvn spring-boot:run" -WorkingDirectory .\discovery-sibernetik\
}
function Start-ServiceB {
# run the command in a new process
Start-Process -FilePath "cmd.exe" -ArgumentList "/c mvn clean install && mvn spring-boot:run" -WorkingDirectory .\service-sibernetik\
}
function Start-UIB {
# run the command in a new process
Start-Process -FilePath "cmd.exe" -ArgumentList "/c mvn clean install && mvn spring-boot:run" -WorkingDirectory .\ui-sibernetik\
}
Start-DiscoveryB
Start-Sleep 10
Start-ServiceB
Start-Sleep 10
Start-UIB