interstellar_ai/deployment_scripts/linux/run.sh
2024-10-09 15:34:44 +02:00

16 lines
No EOL
154 B
Bash

#!/bin/bash
cd py
source venv/bin/activate
python3 api.py &
pid_py=$!
cd ..
npm start &
pid_node=$!
sleep 2
npx electron .
kill $pid_py
kill $pid_node