Skip to content

Commit

Permalink
reformat run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaterre committed Jan 22, 2024
1 parent e69d3aa commit 09560e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09560e6

Please # to comment.