about summary refs log tree commit diff
path: root/example-run-dev.sh
diff options
context:
space:
mode:
authorJohn Nduli2024-10-18 15:06:35 +0300
committerFrederick Muriuki Muriithi2024-10-18 09:28:40 -0500
commit27531c0a1350097ca36a555b8546bc282948de04 (patch)
treeb209f28f6da28fc0384ddfe1145cfe413f2bf8e3 /example-run-dev.sh
parent1aeb61f50567e2400c3cc1a18eeef1e59bdc68ac (diff)
downloadgenenetwork3-27531c0a1350097ca36a555b8546bc282948de04.tar.gz
refactor: move definition of auth errs and remove auth cli utils
Diffstat (limited to 'example-run-dev.sh')
-rw-r--r--example-run-dev.sh8
1 files changed, 0 insertions, 8 deletions
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[@]}