mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-18 09:24:19 +00:00
Update and rename ApplicationStart.sh to start_server.sh
This commit is contained in:
parent
6685aea30f
commit
8c48d86a3c
1 changed files with 2 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
start_backend() {
|
start_server() {
|
||||||
cd /home/ubuntu/song-recognition
|
cd /home/ubuntu/song-recognition
|
||||||
touch back.txt
|
|
||||||
go build -tags netgo -ldflags '-s -w' -o app
|
go build -tags netgo -ldflags '-s -w' -o app
|
||||||
nohup ./app > backend.log 2>&1 &
|
nohup ./app > backend.log 2>&1 &
|
||||||
}
|
}
|
||||||
|
|
@ -14,4 +13,4 @@ start_client() {
|
||||||
nohup serve -s build > client.log 2>&1 &
|
nohup serve -s build > client.log 2>&1 &
|
||||||
}
|
}
|
||||||
|
|
||||||
start_backend
|
start_server
|
||||||
Loading…
Add table
Reference in a new issue