From 09560e607b53a85aa5ea6db52719b8d0544eeaf7 Mon Sep 17 00:00:00 2001 From: Lucas Terriel Date: Mon, 22 Jan 2024 11:16:32 +0100 Subject: [PATCH] reformat run.sh --- run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index cb7ba75..82f68c6 100755 --- a/run.sh +++ b/run.sh @@ -86,8 +86,9 @@ fi # Lancer l'application en fonction du mode echo "Starting the application [in "$1" mode]..." if [[ "$3" == "instance" || "$2" == "instance" ]]; then - # $INSTANCE api.main:app --host $HOST --port $PORT --workers $WORKERS - uvicorn api.main:app --host $HOST --port $PORT --workers $WORKERS + echo "> run with instance..." + $INSTANCE api.main:app --host $HOST --port $PORT --workers $WORKERS + #uvicorn api.main:app --host $HOST --port $PORT --workers $WORKERS else if [[ "$ENV" == "dev" ]]; then uvicorn api.main:app --host $HOST --port $PORT --reload