dependencies for electron an python builds

This commit is contained in:
Patrick_Pluto 2024-10-09 13:32:08 +02:00
parent 427a48a64d
commit 6dfd236153
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/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 if ! ollama; then
curl -fsSL https://ollama.com/install.sh | sh curl -fsSL https://ollama.com/install.sh | sh
fi fi

View file

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
cd py cd py
python api.py & source venv/bin/activate
python3 api.py &
pid_py=$! pid_py=$!
cd ..
npm start & npm start &
pid_node=$! pid_node=$!