diff --git a/deployment_scripts/linux/root.sh b/deployment_scripts/linux/root.sh index 6278166..e0f3af0 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 -y +apt install npm nodejs python3-full ffmpeg libgtk-3-0 libnotify4 libgconf-2-4 libnss3 libxss1 libasound2 build-essential cmake -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 e1e490b..1220bae 100644 --- a/deployment_scripts/linux/run.sh +++ b/deployment_scripts/linux/run.sh @@ -1,8 +1,10 @@ #!/bin/bash cd py -python api.py & +source venv/bin/activate +python3 api.py & pid_py=$! +cd .. npm start & pid_node=$!