Answer the question
In order to leave comments, you need to log in
Why doesn't Python run on Heroku?
There is the most simple application that displays "Hello World". requirements.txt is, in Procfile.txt:
web: python main.py
nothing added to commit
This app has no process types yet
2019-03-26T19:31:23.301424+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=******** .herokuapp.com request_id=10212ad7-0fcb-4141-8292-b9065cb278f9 fwd="31.129.75.92" dyno= connect= service= status=503 bytes= protocol=https
Scaling dynos... !
! Couldn't find that process type (web).
Answer the question
In order to leave comments, you need to log in
1. Firstly, the application must be a web application running over HTTP, and not a simple console application.
2. Rename Procfile.txt to Procfile
3. Read https://devcenter.heroku.com/articles/getting-star...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question