Scripts that wish to use a different database need to do the following:
-os.environ['APP_DB_URL'] = 'some_db_url'
-from app import app
app must be imported after setting the environment variable so that is has access to this value during configuration. tests.py manually sets this variable, run.py & initialize_db.py use a default specified in app.py
Scripts that wish to use a different database need to do the following: -os.environ['APP_DB_URL'] = 'some_db_url' -from app import app app must be imported after setting the environment variable so that is has access to this value during configuration. tests.py manually sets this variable, run.py & initialize_db.py use a default specified in app.py