Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lacking key instruction in deployment to heroku #670

Open
Vasallius opened this issue Aug 26, 2021 · 1 comment
Open

lacking key instruction in deployment to heroku #670

Vasallius opened this issue Aug 26, 2021 · 1 comment
Labels
bug something broken dash-r Dash R applications documentation written for humans P3 backlog

Comments

@Vasallius
Copy link

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)
@Vasallius Vasallius added dash dash-r Dash R applications labels Aug 26, 2021
@xhluca
Copy link

xhluca commented Aug 31, 2021

are you using gunicorn? or the development server?

@gvwilson gvwilson added bug something broken documentation written for humans P3 backlog and removed dash labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken dash-r Dash R applications documentation written for humans P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants