From e1a64ede4b533bc17771578d79a9b792755ee487 Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Sat, 18 May 2024 07:14:55 +0100 Subject: [PATCH] Update ApplicationStart.sh --- scripts/ApplicationStart.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/ApplicationStart.sh b/scripts/ApplicationStart.sh index 6584c4b..fd12b64 100644 --- a/scripts/ApplicationStart.sh +++ b/scripts/ApplicationStart.sh @@ -9,16 +9,9 @@ start_backend() { start_client() { cd /home/ubuntu/song-recognition/client - touch client.txt - - export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - - nvm install 16 - nvm use 16 npm install npm run build nohup serve -s build > client.log 2>&1 & } -start_backend && start_client +start_backend