mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-18 01:14:23 +00:00
Update ApplicationStart.sh
This commit is contained in:
parent
a7c77632d3
commit
85cbd619f7
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
start_backend() {
|
start_backend() {
|
||||||
|
touch back.txt
|
||||||
cd /home/ubuntu/song-recognition
|
cd /home/ubuntu/song-recognition
|
||||||
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 &
|
||||||
|
|
@ -8,6 +9,7 @@ start_backend() {
|
||||||
}
|
}
|
||||||
|
|
||||||
start_client() {
|
start_client() {
|
||||||
|
touch client.txt
|
||||||
cd /home/ubuntu/song-recognition/client
|
cd /home/ubuntu/song-recognition/client
|
||||||
nvm install 16
|
nvm install 16
|
||||||
nvm use 16
|
nvm use 16
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue