0

我使用 Heroku Push 推送我的项目。 https://github.com/ddollar/heroku-push 我从项目的根目录进行推送,与应用程序、conf 等文件夹处于同一级别。

我不断收到应用程序错误。日志显示

2013-09-08T06:39:53.020323+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=projecthuntress.herokuapp.com fwd="70.138.83.197" dyno= connect= service= status=503 bytes=

当我尝试启动 Web 进程时,出现以下错误:

Scaling web dynos... failed
 !    No such process type web defined in Procfile.

我的 Procfile 是一行

web: play run --http.port=$PORT $PLAY_OPTS

当我执行 heroku run bash 时,我得到了输出

Running `bash` attached to terminal... up, run.3963
~ $ ls -l
ls -l
total 0
-rw------- 1 u29969 29969 0 Sep  8 06:49 Procfile

这让我很困惑。我的 Procfile 是否存在?我所有的其他文件都去哪儿了?它应该是一个完整的 Play 部署。我究竟做错了什么?

4

0 回答 0