I am not able to use heroku

I have installed heroku CLI and have also created an account on the heroku website. I am still not able to use heroku on my cmd. I have added heroku to my system environment variables and it still doesn’t get recognized as a command on my cmd.

What am i supposed to do next?

Also, you should mention the changes one is supposed to make to the terminal commands when we are using a different OS. What is the point of me learning from your institute if i have to search for things like that on google?

My heroku is able to run now.

But, i am not able to push my code to heroku’s repository and it gets rejected

hey @A18ML0031,

Kindly check the command prompt , it might showing some errors.
have a look at them , they will tell you what the error is. If still you are confused then kindly share those logs in txt file with me. You can share me a drive link , or upload it on github.

Thank You :slightly_smiling_face:.

can you let me know , what exactly have you stated in runtime.txt. The exact text in it.

This is the exact text in my runtime: “python - 3.7.8” and the changed version name for the different versions of python as indicated in the drive file above.

try without keeping these spaces .
simple python-3.7.8

Check your logs and understand what the error is,
If still you can’t understand, please share your logs file in form of a txt file .

Thank You :slightly_smiling_face:.

In the desc it says “No web processes running”

kindly check your Procfile.

  1. File Named correctly without any extension and with same letter cases.
  2. web: gunicorn app:app this should be inside that procfile.

Or else it will be more good , if you can upload your repository on github and share the link.

Thank You :slightly_smiling_face:.

in my procfile i have : “web: gunicorn python_file_name:app”

Please share your github user so that i can share my code with you

hey ,
Your Procfile shouldnot have any extension.
It needs to be just Procfile.

and also in converstational_bot.py file ,
also paste you main function commands and set_webhook command before app.run
after you check __name__ == "main"

Now, I have changed my Procfile and i am getting an error again. This time it says that “app crashed” in the description

Any error in logs file
Kindly make your changes on github too, so that i can also see them.

I am not able to view the replies on this doubt from the doubts section as well as from the video on which the doubt has been raised. Please do the needful

hey @A18ML0031 ,

for this , just drop a mail at [email protected] , they will help you in this problem.