dependencies for electron an python builds
This commit is contained in:
parent
427a48a64d
commit
6dfd236153
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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=$!
|
||||||
|
|
Loading…
Reference in a new issue