From b435c2f95cb90c7fc62f4d658ecabdd1a80549a9 Mon Sep 17 00:00:00 2001 From: floxx2112 Date: Thu, 20 Apr 2023 10:28:05 +0200 Subject: [PATCH] commited --- Scripts/AssitR.ps1 | 26 -------------------------- Scripts/assitDB.ps1 | 1 - Scripts/null.txt | 1 - Scripts/second.txt | 1 - Scripts/test.txt | 1 + Scripts/test1.txt | 1 - Scripts/trest.txt | 1 - scripts.json | 2 +- 8 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 Scripts/AssitR.ps1 delete mode 100644 Scripts/assitDB.ps1 delete mode 100644 Scripts/null.txt delete mode 100644 Scripts/second.txt create mode 100644 Scripts/test.txt delete mode 100644 Scripts/test1.txt delete mode 100644 Scripts/trest.txt diff --git a/Scripts/AssitR.ps1 b/Scripts/AssitR.ps1 deleted file mode 100644 index e2124da..0000000 --- a/Scripts/AssitR.ps1 +++ /dev/null @@ -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 -} diff --git a/Scripts/assitDB.ps1 b/Scripts/assitDB.ps1 deleted file mode 100644 index 1b352a4..0000000 --- a/Scripts/assitDB.ps1 +++ /dev/null @@ -1 +0,0 @@ -ergoheagroheqggqshop \ No newline at end of file diff --git a/Scripts/null.txt b/Scripts/null.txt deleted file mode 100644 index 4d61e3e..0000000 --- a/Scripts/null.txt +++ /dev/null @@ -1 +0,0 @@ -esbvondvdnfo \ No newline at end of file diff --git a/Scripts/second.txt b/Scripts/second.txt deleted file mode 100644 index 6ce0e09..0000000 --- a/Scripts/second.txt +++ /dev/null @@ -1 +0,0 @@ -deuxoieme test \ No newline at end of file diff --git a/Scripts/test.txt b/Scripts/test.txt new file mode 100644 index 0000000..b60ff92 --- /dev/null +++ b/Scripts/test.txt @@ -0,0 +1 @@ +test 1 des \ No newline at end of file diff --git a/Scripts/test1.txt b/Scripts/test1.txt deleted file mode 100644 index b4c124b..0000000 --- a/Scripts/test1.txt +++ /dev/null @@ -1 +0,0 @@ -je suis un test \ No newline at end of file diff --git a/Scripts/trest.txt b/Scripts/trest.txt deleted file mode 100644 index c690a45..0000000 --- a/Scripts/trest.txt +++ /dev/null @@ -1 +0,0 @@ -eriugshehruigsdighd \ No newline at end of file diff --git a/scripts.json b/scripts.json index 5f3b15b..2414117 100644 --- a/scripts.json +++ b/scripts.json @@ -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"}]}]} \ No newline at end of file +{"data":[{"filename":"test.txt","id":1,"tags":[{"tagname":"TXT"}]}]} \ No newline at end of file