parent
f2b40e226d
commit
b435c2f95c
@ -1,26 +0,0 @@ |
||||
$backendPath = $PSScriptRoot + "\..\AssistDB_V2_Back" |
||||
$frontendPath = $PSScriptRoot + "\..\AssistDB_V2_Front" |
||||
Start-Job -Name Backend -Args $backendPath { param($backendPath) Set-Location $backendPath; git pull; mvn spring-boot:run |
||||
} |
||||
Start-Job -Name Frontend -Args $frontendPath{ param($frontendPath) Set-Location $frontendPath; git pull; ng serve } |
||||
Start-Process "http://localhost:9002/" |
||||
$text = 'Tapez "stop" pour stopper les applications ou "log" pour afficher les logs: ' |
||||
$continue=1 |
||||
while ($continue -eq 1){ |
||||
$FromInput = Read-Host $text |
||||
if ( $FromInput -like 'stop' ) { |
||||
$continue=0; |
||||
} |
||||
elseif ( $FromInput -like 'log' ) { |
||||
Write-Host "### - Back : " |
||||
Get-Job -Name Backend | Receive-Job |
||||
Write-Host "### - Front : " |
||||
Get-Job -Name Frontend | Receive-Job |
||||
} |
||||
} |
||||
if($FromInput -eq 'stop'){ |
||||
Get-Job -Name Backend | Stop-Job |
||||
Get-Job -Name Backend | Remove-Job |
||||
Get-Job -Name Frontend | Stop-Job |
||||
Get-Job -Name Frontend | Remove-Job |
||||
} |
@ -1 +0,0 @@ |
||||
ergoheagroheqggqshop |
@ -1 +0,0 @@ |
||||
esbvondvdnfo |
@ -1 +0,0 @@ |
||||
deuxoieme test |
@ -0,0 +1 @@ |
||||
test 1 des |
@ -1 +0,0 @@ |
||||
je suis un test |
@ -1 +0,0 @@ |
||||
eriugshehruigsdighd |
@ -1 +1 @@ |
||||
{"data":[{"filename":"test1.txt","id":1,"tags":[{"tagname":"JOIN"}]},{"filename":"second.txt","id":2,"tags":[{"tagname":"TXT"},{"tagname":"SQL"}]},{"filename":"assitDB.ps1","id":3,"tags":[{"tagname":"PS1"},{"tagname":"JOIN"}]},{"filename":"nul.txt","id":4,"tags":[{"tagname":"TXT"}]},{"filename":"null.txt","id":5,"tags":[{"tagname":"TXT"}]},{"filename":"trest.txt","id":6,"tags":[{"tagname":"TXT"}]},{"filename":"AssitR.ps1","id":7,"tags":[{"tagname":"PS1"},{"tagname":"JOIN"}]}]} |
||||
{"data":[{"filename":"test.txt","id":1,"tags":[{"tagname":"TXT"}]}]} |
Loading…
Reference in new issue