Skip to content

Commit

Permalink
Set default env values in the run_servers script.
Browse files Browse the repository at this point in the history
  • Loading branch information
keyurva committed Dec 30, 2024
1 parent 4579b7f commit cade43e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions run_servers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cade43e

Please sign in to comment.