PyWebIO icon indicating copy to clipboard operation
PyWebIO copied to clipboard

Heroku

Open itsshreyarora opened this issue 3 years ago • 4 comments

How to deploy app to heroku?

itsshreyarora avatar May 02 '21 21:05 itsshreyarora

You can refer to https://github.com/wang0618/pywebio-in-cloud. And there a video about deployment of ML models using PyWebIO in Heroku: https://www.youtube.com/watch?v=sqR154NkwZk

wang0618 avatar May 03 '21 04:05 wang0618

hi wang, thanks for the help, but im getting an error image

itsshreyarora avatar May 03 '21 05:05 itsshreyarora

It seem like that your app don't start successfully in heroku environment. If you use the same Procfile file as this repo, you need ensure that your app can start successfully in your local machine via python app.py --port=<some port>.

wang0618 avatar May 03 '21 06:05 wang0618

Here is my live app on Heroku: https://make-data.herokuapp.com/

Here is the code: https://github.com/tirthajyoti/PyWebIO/tree/main/make-data

Here is Heroku deploy instructions:

heroku

tirthajyoti avatar May 08 '21 05:05 tirthajyoti