Why after loading Procfile continues to write: Warning: Your application is missing a Procfile. This file tells you how to run your application. ?

enter image description here

This is what the folder looks like: enter image description here

Procfile content:

web: python main.py

Why it happens? How to do everything right?

  • @D-side, please forgive me, I don’t understand at all, but how to check it? there is what i think, then git add procfile on the command line - fatal: pathspec 'Procfile' didn’t much any files - Jul
  • one
    Oh, ha ha ha! It's simple. You really don't have a procfile. Look at the screenshot, your file is called differently. And Explorer is lying a little. You can list the files with the dir command and make sure. - D-side

1 answer 1

Procfile should be without the .txt extension. For example, you can save the file in Notepad, write the file name in quotes "", type - "All files . ". enter image description here