diff --git a/run.sh b/run.sh index 9e8204817d0a1b64f9b0fc78785b815db878ba95..4e10d2b8d80b6686cfdb23e519965f2af44db1b9 100755 --- a/run.sh +++ b/run.sh @@ -41,10 +41,12 @@ if [[ $docker == "false" ]]; then ### Runs the API Server (Development) ### if [[ $mode == "api-dev" ]]; then + echo "Activating Python Environment" + source python/bin/activate # echo "Building Web Applications" # sh ./script/build-web.sh echo "Starting API Server" - /usr/bin/env python3.7 src/app.py + python src/app.py fi ### Runs the API Server (Test) ### @@ -72,7 +74,7 @@ if [[ $docker == "false" ]]; then if [[ $mode == "api" ]]; then echo "Activating Python Environment" - source ../python-env/bin/activate + source python/bin/activate echo "Starting API Server" gunicorn -c config/gunicorn.conf.py src.app:app fi