change app.config in manage.py

This commit is contained in:
Sorrel Bri 2019-10-14 16:53:41 -07:00
parent 9f8d8004b8
commit 015c2a9776

View file

@ -22,7 +22,7 @@ from models.Move import Move
from models.User import User
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://localhost/browser-go'
app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv('SQLALCHEMY_DATABASE_URI')
@manager.command
def test():
"""Runs the unit tests without test coverage."""