From b862768720341d28ad1d0164d2b0b84977a1889e Mon Sep 17 00:00:00 2001 From: Haresh Kainth Date: Thu, 12 Dec 2024 14:17:09 +0000 Subject: [PATCH] remove:Poetry usage from deployment script. Replaced Poetry commands with direct Python execution for migrations and server startup. Simplifies the script and removes dependency on Poetry for runtime execution. --- paas_entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paas_entrypoint.sh b/paas_entrypoint.sh index 3bfeb49..a5c7a3c 100644 --- a/paas_entrypoint.sh +++ b/paas_entrypoint.sh @@ -2,7 +2,7 @@ set -ex # Prints each command as it runs. If a command fails, it will halt at that point -poetry run python manage.py migrate --noinput +python manage.py migrate --noinput # Start the server -poetry run gunicorn fbr.wsgi:application --bind "0.0.0.0:$PORT" +gunicorn fbr.wsgi:application --bind "0.0.0.0:$PORT"