使用Docker在Heroku上设置和部署Cookiecutter-Django项目:部署失败,尚未加载应用程序

时间:2019-04-01 14:51:37

标签: django docker heroku deployment cookiecutter-django

我想使用docker和git部署一个cookiecutter项目到Heroku。我按照此处的步骤操作:https://cookiecutter-django.readthedocs.io/en/latest/deployment-on-heroku.html,一切正常,直到Heroku尝试释放部署为止。这意味着我可以将所有内容推送给主服务器,但是随后出现以下错误:

remote: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
remote: Waiting for release.... failed.

我尝试建立一个新项目,但仍然遇到相同的错误。我的项目上还没有任何应用程序,只有一个普通的html页面。那可能是原因吗?还是还有其他想法?

任何帮助将不胜感激。预先感谢...。

0 个答案:

没有答案