forked from alugili/ModernArchitectureShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dapr_start.ps1
51 lines (48 loc) · 1.3 KB
/
dapr_start.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Identity Server
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-NoExit
-command dapr run `
--app-id identityserver `
--app-port 50000 `
--log-level debug `
dotnet run dotnet `
-- -p src\Identity\IdentityServer.csproj'
Start-Sleep -Seconds 2
# Store Api
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id storeapi `
--app-port 5020 `
--log-level debug `
dotnet run dotnet `
-- -p src\Store\ModernArchitectureShop.StoreApi\ModernArchitectureShop.StoreApi.csproj'
Start-Sleep -Seconds 2
# Basket Api
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id basketapi `
--app-port 5030 `
--log-level debug `
dotnet run dotnet `
-- -p src/Basket/ModernArchitectureShop.BasketApi/ModernArchitectureShop.BasketApi.csproj'
Start-Sleep -Seconds 5
# BlazorUI
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id blazorui `
--app-port 5010 `
--log-level debug `
dotnet run dotnet `
-- -p src/UI/ModernArchitectureShop.BlazorUI.csproj'