Adjust the directory structure to prepare for merging into Master.

This commit is contained in:
Liu Zhicong
2023-09-27 11:40:46 -07:00
parent 5146bc1871
commit 030e4c4f52
115 changed files with 413 additions and 160 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