-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuruchom.ps1
21 lines (21 loc) · 1.85 KB
/
uruchom.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Write-Output "--------------------------------->POBIERANIE NEZBEDNYCH BIBLIOTEK - NODE_MODULE<---------------------------------"
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Start-Sleep -s 3
cd .\angular8-client\ | npm install
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Write-Output "--------------------------------->KOMPILOWANIE SERWERA DO FORMATU .JAR<------------------------------------------"
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Start-Sleep -s 3
cd .. | mvn package
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Write-Output "--------------------------------->URUCHAMIANIE SERWERA W NOWYM OKNIE<--------------------------------------------"
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Start-Sleep -s 3
start powershell {java -jar .\target\projekt-0.0.1-SNAPSHOT.jar}
Write-Output "-----------------------------------------------------------------------------------------------------------------"
Write-Output "--------------------------------->URUCHAMIANIE KLIENTA - ANGULAR<------------------------------------------------"
Write-Output "----------------------------->APLIKACJA BEDZIE DOSTEPNA POD ADRESEM<---------------------------------------------"
Write-Output "------------------------------------>http://localhost:4200/<-----------------------------------------------------"
Start-Sleep -s 3
cd .\angular8-client\ | ng serve