try renaming server command to run
This commit is contained in:
parent
3051de03aa
commit
ef5bedb810
2 changed files with 2 additions and 2 deletions
2
Procfile
2
Procfile
|
@ -1,2 +1,2 @@
|
||||||
gunicorn --worker-class eventlet -w 1 server:server
|
gunicorn --worker-class eventlet -w 1 server:run
|
||||||
release: python manage.py db upgrade
|
release: python manage.py db upgrade
|
|
@ -26,7 +26,7 @@ if __name__ == '__main__':
|
||||||
migrate = Migrate(app, db)
|
migrate = Migrate(app, db)
|
||||||
socketio.run(app, debug=True)
|
socketio.run(app, debug=True)
|
||||||
|
|
||||||
def server():
|
def run():
|
||||||
app = create_app()
|
app = create_app()
|
||||||
register_api_endpoints(app)
|
register_api_endpoints(app)
|
||||||
app.register_blueprint(server)
|
app.register_blueprint(server)
|
||||||
|
|
Loading…
Reference in a new issue