AI butler Jarvis

This commit is contained in:
fiatrete
2023-06-05 13:21:34 +08:00
parent 41578de486
commit c01b07e61e
68 changed files with 4451 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
ROOT=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "${ROOT}"
cp .env "${ROOT}/../example_services"
cd "${ROOT}"
source venv/bin/activate
cp ${ROOT}/credentials.json ${ROOT}/../example_services/demo_service2
cd ${ROOT}/../example_services/demo_service2
python -m uvicorn main:app --port=1998 &
PID1=$!
cd "${ROOT}"
source venv/bin/activate
cd ${ROOT}/../example_services/demo_service1
python -m uvicorn main:app --port=1999 &
PID2=$!
wait $PID1
wait $PID2