【发布时间】:2020-05-19 10:36:36
【问题描述】:
我正在尝试在 heroku 上部署我的 django 网站... 当我输入---->git push heroku master(运行良好)时,但它没有呈现我的主页 我的网站。 如果我输入命令----->heroku 日志 然后 就像,
2020-05-19T10:09:02.516378+00:00 app[api]: Release v1 created by user rajparmar23801@gmail.com
2020-05-19T10:09:02.733920+00:00 app[api]: Enable Logplex by user rajparmar23801@gmail.com
2020-05-19T10:09:02.516378+00:00 app[api]: Initial release by user rajparmar23801@gmail.com
2020-05-19T10:09:02.733920+00:00 app[api]: Release v2 created by user rajparmar23801@gmail.com
2020-05-19T10:09:25.000000+00:00 app[api]: Build started by user rajparmar23801@gmail.com
2020-05-19T10:10:13.527798+00:00 app[api]: @ref:postgresql-animated-29167 completed
provisioning, setting DATABASE_URL. by user rajparmar23801@gmail.com
2020-05-19T10:10:13.513153+00:00 app[api]: Running release v3 commands by user
rajparmar23801@gmail.com
2020-05-19T10:10:13.527798+00:00 app[api]: Release v4 created by user rajparmar23801@gmail.com
2020-05-19T10:10:13.513153+00:00 app[api]: Attach DATABASE (@ref:postgresql-animated-29167) by
user rajparmar23801@gmail.com
2020-05-19T10:10:13.824421+00:00 app[api]: Release v5 created by user rajparmar23801@gmail.com
2020-05-19T10:10:13.824421+00:00 app[api]: Deploy 1a2f93e6 by user rajparmar23801@gmail.com
2020-05-19T10:10:23.000000+00:00 app[api]: Build succeeded
2020-05-19T10:16:14.542057+00:00 heroku[router]: at=error code=H14 desc="No web processes
running" method=GET path="/" host=whatwilldoapp.herokuapp.com request_id=d12ca631-fcbc-4240-
b823-d24d2fa373d6 fwd="27.61.152.130" dyno= connect= service= status=503 bytes= protocol=https
2020-05-19T10:17:27.847271+00:00 heroku[router]: at=error code=H14 desc="No web processes
running" method=GET path="/" host=whatwilldoapp.herokuapp.com request_id=cbe42696-4611-42f7-
aa2a-9c90912e43d9 fwd="27.61.152.130" dyno= connect= service= status=503 bytes= protocol=https
【问题讨论】:
-
您是否指定了 Web 进程?你
Procfile的内容是什么?