From cade43edc8ce4a5e2e9ef3e715a5d740e613bcbc Mon Sep 17 00:00:00 2001 From: Keyur Shah Date: Mon, 30 Dec 2024 14:59:06 -0800 Subject: [PATCH] Set default env values in the run_servers script. --- run_servers.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/run_servers.sh b/run_servers.sh index e7b0734df0..713f3e9ac2 100755 --- a/run_servers.sh +++ b/run_servers.sh @@ -30,6 +30,16 @@ if [[ "$1" == "--verbose" ]]; then VERBOSE=true fi +export FLASK_ENV="${FLASK_ENV:-integration_test}" +export ENV_PREFIX="${ENV_PREFIX:-Staging}" +export GOOGLE_CLOUD_PROJECT="${GOOGLE_CLOUD_PROJECT:-datcom-website-staging}" +export ENABLE_MODEL="${ENABLE_MODEL:-true}" + +echo "FLASK_ENV=$FLASK_ENV" +echo "ENV_PREFIX=$ENV_PREFIX" +echo "GOOGLE_CLOUD_PROJECT=$GOOGLE_CLOUD_PROJECT" +echo "ENABLE_MODEL=$ENABLE_MODEL" + exit_with=0 # Kill forked processes, then exit with the status code stored in a variable.