15 lines
No EOL
146 B
Bash
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 |