mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
Update ApplicationStart.sh
This commit is contained in:
parent
4a6b3496ec
commit
6852cd03ca
1 changed files with 5 additions and 0 deletions
|
|
@ -10,8 +10,13 @@ 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 &
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue