Open vgggy34g55 opened 3 weeks ago
i added these on my fork
but still cant get it running showing this message
also logs are these: 2024-06-06T17:40:01.000000+00:00 app[api]: Build succeeded 2024-06-06T17:40:06.193047+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=c48e7f9c-052a-4fe0-8c74-e373f2a49abc fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https 2024-06-06T17:40:07.741059+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=541e0c78-cb5d-46b1-acad-bd82b7bed394 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https 2024-06-06T17:42:29.488459+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=edd3ce24-d3fd-4d7d-b026-04495f1b1c44 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https 2024-06-06T17:42:31.397007+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=a54633e2-0ccd-4f07-b327-6d3a571ed8f7 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https 2024-06-06T17:43:33.237864+00:00 app[api]: Deploy 664f60ea by user 2024-06-06T17:43:33.237864+00:00 app[api]: Release v14 created by 2024-06-06T17:43:39.000000+00:00 app[api]: Build succeeded 2024-06-06T17:43:56.644389+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=846b72fc-9ba9-46a6-ac72-d77e54c521af fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https 2024-06-06T17:43:57.907234+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=f7a3d48b-2e72-4341-b913-56f93bcdc212 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https
You shouldn't create a 'web' process but rather a 'worker' process. Here is an example of Procfile for deploying using Heroku:
worker: python -m venv venv && source venv/bin/activate && pip install -r requirements.txt && python bot/main.py
@n3d1117 It would be great if you add it to README.
need a file named Procfile includes this text
web: python bot/main.py