2016-08-15 92 views
0

我使用django創建了個人網站,同時還包含博客。您可以通過點擊here在heroku上部署我的django網站時出現錯誤

我有procfile並在Heroku的網站上說,做在命令提示符下所指示的Heroku的requirements.txt文件看到我的github倉庫的確切目錄清單和源代碼:

$ 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。

回答

0

您的文件被稱爲Procfile.txt。它應該被稱爲Procfile。

0

可能是因爲您製作了.txt文件而不是非擴展名文件,或者您將其命名爲procfile而不是Procfile。 Heroku對大寫字母敏感。