Update ApplicationStart.sh

This commit is contained in:
Chigozirim Igweamaka 2024-05-17 13:35:00 +01:00 committed by GitHub
parent a7c77632d3
commit 85cbd619f7

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash
start_backend() {
touch back.txt
cd /home/ubuntu/song-recognition
go build -tags netgo -ldflags '-s -w' -o app
nohup ./app > backend.log 2>&1 &
@ -8,6 +9,7 @@ start_backend() {
}
start_client() {
touch client.txt
cd /home/ubuntu/song-recognition/client
nvm install 16
nvm use 16