update script (auto start localhost)

main
floxx2112 2 years ago
parent bb6c9d8497
commit d7ec22a6b2
  1. 1
      AssistBDD.ps1

@ -2,6 +2,7 @@ $backendPath = $PSScriptRoot + "\AssistDB_V2_Back"
$frontendPath = $PSScriptRoot + "\AssistDB_V2_Front"
Start-Job -Name Backend -Args $backendPath { param($backendPath) Set-Location $backendPath; mvn spring-boot:run }
Start-Job -Name Frontend -Args $frontendPath{ param($frontendPath) Set-Location $frontendPath; ng serve }
Start-Process "http://localhost:4200/"
$text = 'Tapez "stop" pour stopper les applications'
$FromInput = Read-Host $text
while ($FromInput -ne 'stop') {

Loading…
Cancel
Save