diff --git a/core/assets/run.sh b/core/assets/run.sh index 8331159..1dabcb7 100755 --- a/core/assets/run.sh +++ b/core/assets/run.sh @@ -33,7 +33,7 @@ function wait_for_postgres () { # # TODO: Check the database type and detect if it is up based on that. For now, # assume that postgres is being used if DATABASE_URL is defined. -if [[ ! -v DATABASES_URL ]]; then +if [[ ! -v DATABASE_URL ]]; then echo "DATABASE_URL is not defined. Using sqlite database..." export DATABASE_URL=sqlite:///mailman.db export DATABASE_TYPE='sqlite'