interstellar_ai/deployment_scripts/linux/run.sh
2024-10-09 13:32:08 +02:00

15 lines
No EOL
146 B
Bash

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