将Django App部署到Heroku

时间:2012-11-05 18:08:32

标签: python django git heroku

    Pushing to git@heroku.com:lebab.git

-----> Heroku receiving push
-----> Python/Django app detected
-----> Preparing Python interpreter (2.7.2)
-----> Creating Virtualenv version 1.7.2
       New python executable in .heroku/venv/bin/python2.7
       Also creating executable in .heroku/venv/bin/python

*遗漏*

    -----> Discovering process types

         !     Heroku push rejected due

 to an unrecognized error.
     !     We've been notified, see http://support.heroku.com if the problem persists.


    To git@heroku.com:lebab.git
     ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'git@heroku.com:lebab.git'

我制作了django应用程序,所以我尝试将其部署到heroku。 并得到错误。 什么意思?有任何想法吗? 如果我应该提供更多信息,我会。

1 个答案:

答案 0 :(得分:0)

只需要manage.py + requirements.txt ...:|