From 27531c0a1350097ca36a555b8546bc282948de04 Mon Sep 17 00:00:00 2001 From: John Nduli Date: Fri, 18 Oct 2024 15:06:35 +0300 Subject: refactor: move definition of auth errs and remove auth cli utils --- example-run-dev.sh | 8 -------- 1 file changed, 8 deletions(-) (limited to 'example-run-dev.sh') diff --git a/example-run-dev.sh b/example-run-dev.sh index a0c5d61..959411f 100644 --- a/example-run-dev.sh +++ b/example-run-dev.sh @@ -3,7 +3,6 @@ ## Copy to run-dev.sh and update the appropriate environment variables. export SQL_URI="${SQL_URI:+${SQL_URI}}" -export AUTH_DB="${AUTH_DB:+${AUTH_DB}}" export FLASK_DEBUG=1 export FLASK_APP="main.py" export AUTHLIB_INSECURE_TRANSPORT=true @@ -20,12 +19,5 @@ then exit 1; fi -if [ -z "${AUTH_DB}" ] -then - echo "ERROR: You need to specify the 'AUTH_DB' environment variable"; - exit 1; -fi - - # flask run --port=8080 flask ${CMD_ARGS[@]} -- cgit 1.4.1