Skip to content

Commit

Permalink
Add to Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijay Kurian committed Nov 28, 2019
1 parent 8a3b686 commit 89dd735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: gunicorn run:app
web: gunicorn run:app run:python manage.py db upgrade --app sportsmatchapi-vijay
2 changes: 1 addition & 1 deletion manage_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from src.app import create_app, db

createdb_test(os.getenv('TEST_DATABASE_URL'))
createdb(os.getenv('TEST_DATABASE_URL'))

env_name = os.getenv('FLASK_ENV_TEST')
app = create_app(env_name)
Expand Down

0 comments on commit 89dd735

Please sign in to comment.