diff --git a/deployment_scripts/linux/root.sh b/deployment_scripts/linux/root.sh index e0f3af0..6278166 100644 --- a/deployment_scripts/linux/root.sh +++ b/deployment_scripts/linux/root.sh @@ -1,6 +1,6 @@ #!/bin/bash -apt install npm nodejs python3-full ffmpeg libgtk-3-0 libnotify4 libgconf-2-4 libnss3 libxss1 libasound2 build-essential cmake -y +apt install npm nodejs python3-full -y if ! ollama; then curl -fsSL https://ollama.com/install.sh | sh fi diff --git a/deployment_scripts/linux/run.sh b/deployment_scripts/linux/run.sh index 1220bae..e1e490b 100644 --- a/deployment_scripts/linux/run.sh +++ b/deployment_scripts/linux/run.sh @@ -1,10 +1,8 @@ #!/bin/bash cd py -source venv/bin/activate -python3 api.py & +python api.py & pid_py=$! -cd .. npm start & pid_node=$!