first commit
This commit is contained in:
17
run_dashboard.sh
Normal file
17
run_dashboard.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd dashboard
|
||||
npm start &
|
||||
P1=$!
|
||||
|
||||
activate_venv() {
|
||||
cd flask-server
|
||||
source venv/Scripts/activate
|
||||
}
|
||||
activate_venv
|
||||
|
||||
cd ../..
|
||||
python dashboard/flask-server/server.py $1 $2 &
|
||||
P2=$!
|
||||
|
||||
wait $P1 $P2
|
||||
Reference in New Issue
Block a user