heroku上的Depopoying项目django [关闭]

问题描述 投票:0回答:1

我的项目djandgo遇到问题,当我推动我的项目然后尝试打开它时,我发现了这种按摩方法

enter image description here

然后当我写heroku login --t

此消息

enter image description here

python django heroku
1个回答
0
投票
您必须确保您的Procfile包含指向wsgi.py文件的行。

Procfile:

web: gunicorn project_name.wsgi

您的文件结构(文件结构的一部分,包含wsgi.py和Procfile:]:]

. ├── Procfile └── project_name └── wsgi.py

© www.soinside.com 2019 - 2024. All rights reserved.