I am trying to make a simple Dash Hello World app on Heroku with a simple PlotlyExpress chart. Unfortunately I have some problems and wonder if someone could help me? The code is forked from GitHub - plotly/dash-px: Simple Dash app using Plotly Express and when I deploy the app I get the following errors:
Have you written a Procfile? Looks like you might need to define the web process, see here too. You may also need to explicitly start a web process with something like heroku ps:scale web=1, but it should do that for you automatically.
Thanks, I have tried that containing: web: gunicorn app:server and also added gunicorn==19.7.1 to requirements.txt but I get the following error:
2019-08-09T06:25:40.329974+00:00 app[web.1]: OSError: [Errno 98] Address already in use
I solved the problems by adding some code and also adding flask (I forgot about that). Now I will try to update the code to the latest versions. You can find the code at https://github.com/maxtillberg/dash-px