-
Notifications
You must be signed in to change notification settings - Fork 63
/
start.ps1
69 lines (65 loc) · 1.78 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Inventory Api
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id inventoryapi `
--app-port 5005 `
--port 5015 `
--log-level debug `
dotnet run dotnet `
-- -p src\Inventory\CoolStore.InventoryApi\CoolStore.InventoryApi.csproj'
Start-Sleep -Seconds 2
# Product Catalog Api
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id productcatalogapi `
--app-port 5003 `
--port 5013 `
--log-level debug `
dotnet run dotnet `
-- -p src\ProductCatalog\CoolStore.ProductCatalogApi\CoolStore.ProductCatalogApi.csproj'
Start-Sleep -Seconds 2
# Identity Server
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-NoExit
-command dapr run `
--app-id identityserver `
--app-port 5001 `
--port 5011 `
--log-level debug `
dotnet run dotnet `
-- -p src\Identity\CoolStore.IdentityServer\CoolStore.IdentityServer.csproj'
Start-Sleep -Seconds 2
# Graph Api
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id graphapi `
--app-port 5002 `
--port 5012 `
--log-level debug `
dotnet run dotnet `
-- -p src\GraphApi\CoolStore.GraphApi\CoolStore.GraphApi.csproj'
Start-Sleep -Seconds 2
# Web Host
start-process powershell.exe -argument `
'-nologo
-noprofile
-executionpolicy bypass
-command dapr run `
--app-id webuihost `
--app-port 5100 `
--port 6868 `
--log-level debug `
dotnet run dotnet `
-- -p src\WebUI\CoolStore.WebUI.Host\CoolStore.WebUI.Host.csproj'