Skip to content

lacking key instruction in deployment to heroku #670

@Vasallius

Description

@Vasallius

The documentation only specifies

if __name__ == '__main__':
    app.run_server(debug=True)

However, this would cause problems on the deployment of the app to heroku, the correct code should include the heroku port variable

if __name__ == '__main__':
    app.run_server(debug=False, port=PORT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething brokendash-rDash R applicationsdocumentationwritten for humans

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions