From d7ec22a6b225098f569ae1defbb16bff92dfa04b Mon Sep 17 00:00:00 2001 From: floxx2112 Date: Mon, 13 Mar 2023 13:13:33 +0100 Subject: [PATCH] update script (auto start localhost) --- AssistBDD.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/AssistBDD.ps1 b/AssistBDD.ps1 index 95b093f..ef0bf2b 100644 --- a/AssistBDD.ps1 +++ b/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') {