Deploying Flask App for Telegram

you mean empty procfile ?

nope not empty
it will be the same content as before…
but rename this file from Procfile.txt to just Procfile

it is automatically saving as text file

clone this repository first , then just copy the procfile ,paste in your code folder and delete all others.

and change your requirements to
Flask==1.0.2
gunicorn==20.0.4
python-telegram-bot==11.1.0

only these
your app will work.
after this you can star adding your own functionalities one by one.


did everything
I give up now

no pallavi. No giving up.

Just check the logs it might be about importerror

these are just small errors , don’t think to give up.

didn’t you did this ?

yes i did that and checked again too

remove that line and
re run these commands in cmd
git add .
git commit -m “”
git push heroku master

if you still can’t undertand the file errors, then on heroku dashboard it will showing a a link something like git.heroku.com/....something.git.
clone it and check the files that are actually on the server.

every thing upto date

still same error in logs ?

yes still the same error

can you please update your file on the drive link , that you shared before , so that i can also have a look

https://drive.google.com/drive/folders/1W6luPrvr_L7w8yWy16XqoBFq6MV4k7zO?usp=sharing

comment this line
from utils import get_reply , fetch_news ,topics_keyboard

and run those commands above.
i hope it will work.

yes thanks a lot it works
last thing now I can add client.json and utils.py?