What is the reason for “Procfile declares types -> (none)” in Heroku?

前端 未结 11 1858
一整个雨季
一整个雨季 2020-12-14 09:06

I am trying to deploy a test app to Heroku --stack cedar but every time I do my Procfile is being ignored.

It should be saying this:

Procfile declare         


        
11条回答
  •  孤街浪徒
    2020-12-14 09:30

    this problem is mainly caused by the create Procfile command when it is run from the command prompt or terminal. I recommend you to create the Procfile manually.

    If you are using Visual Studio code then, click on the pipfile and then on the upper side click the create new file button and enter the name of the file as Procfile.

    Before doing this delete previous Procfile and also use the command git rm procfile -f in command prompt in your active virtual environment.

    if you are using any other IDE then open notepad and enter this line in it web: gunicorn mb_project.wsgi --log-file - after that save it as Procfile and put this file below your pipfile.

    here is the link of my files https://github.com/YashMarmat/message-board-app.git

提交回复
热议问题