-
Notifications
You must be signed in to change notification settings - Fork 0
/
Launch.sh
38 lines (30 loc) · 1.04 KB
/
Launch.sh
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
# Run this script as admin to prevent AccessDenied exceptions when creating the MetricsServer
echo "Launching system..."
rootPath="D:\Projects\GitHub\MobileMicroservicesSample\src"
# Mobiles.Api
# WebApi Port 5000
echo "Starting Mobiles.Api..."
cd "${rootPath}\Mobiles\Mobiles.Api"
dotnet run &
# SimCards.EventHandlers
# Process
echo "Starting ExternalSimCardsProvider.Api..."
cd "${rootPath}\SimCards\SimCards.EventHandlers"
dotnet run &
# ExternalSimCardsProvider.Api
# WebApi Port 5001
echo "Starting ExternalSimCardsProvider.Api..."
cd "${rootPath}\ExternalSimCardsProvider\ExternalSimCardsProvider.Api"
dotnet run &
# MobileTelecomsNetwork.EventHandlers
# Process
echo "Starting MobileTelecomsNetwork.EventHandlers..."
cd "${rootPath}\MobileTelecomsNetwork\MobileTelecomsNetwork.EventHandlers"
dotnet run &
# ExternalMobileTelecomsNetwork.Api
# WebApi Port 5002
echo "Starting ExternalMobileTelecomsNetwork.Api..."
cd "${rootPath}\ExternalMobileTelecomsNetwork\ExternalMobileTelecomsNetwork.Api"
dotnet run &
wait
echo "System shutdown completed"