【发布时间】:2016-12-21 09:21:30
【问题描述】:
我使用 django 创建了一个个人作品集网站,其中还包括一个博客。你可以通过点击here 在我的 github 仓库中看到确切的目录列表和源代码
我有 heroku 网站中所说的 procfile 和 requirements.txt 文件,并按照 heroku 的指示在命令提示符下执行了以下操作:
$ heroku login
$ heroku git:clone -a appname
$ cd appname
$ git add .
$ git commit -am "make it better"
$ git push heroku master
现在我在部署时看到以下错误并且推送失败:
Warning: Your application is missing a Procfile. This file tells Heroku how to run your application.
是的,但是目录中有一个 procfile。 请帮我在heroku中部署这个网站。
【问题讨论】: