From 426f106db3cc76dcdaf54b4021d2e492c8befe1b Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Wed, 9 Oct 2024 13:49:06 -0400 Subject: [PATCH] fix: new run.dev.bash for poetry --- run.dev.bash | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/run.dev.bash b/run.dev.bash index e1ae176..4022896 100644 --- a/run.dev.bash +++ b/run.dev.bash @@ -4,12 +4,11 @@ cd /beacon || exit -export FLASK_APP='bento_beacon.app:app' - -# Update dependencies if necessary -pip install --no-cache-dir --user -r requirements.txt +# Update dependencies and install module locally +/poetry_user_install_dev.bash -# For below command structure, see https://stackoverflow.com/questions/4437573/bash-assign-default-value +export FLASK_ENV='development' +export FLASK_APP='bento_beacon.app:app' # Set default internal port to 5000 : "${INTERNAL_PORT:=5000}"