部署Django项目时未运行任何Web进程

时间:2020-05-19 10:36:36

标签: python django heroku

我正在尝试在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

1 个答案:

答案 0 :(得分:0)

您需要做的就是扩大测功机。您可以在命令行中使用

$ heroku ps:scale web=1
相关问题