Skip to content

lacking key instruction in deployment to heroku #670

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)

Activity

  1. xhluca commented on Aug 31, 2021

    @xhluca

    are you using gunicorn? or the development server?

  2. added
    bugsomething broken
    P3backlog
    and removed on Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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