[英]Minimal working heroku django app
I have been having some problems with deploying my django app to heroku. 我在将django应用程序部署到heroku时遇到了一些问题。 I have triple checked the getting started guide several times and I am getting quite frustrated. 我已经多次仔细检查了入门指南,但感到非常沮丧。 The most annoying thing is that I don't get any errors during deployment, in heroku logs
or during local deployment. 最烦人的是,在部署过程中, heroku logs
或本地部署过程中,我都没有出现任何错误。 Here is an SO question with more details. 这是一个带有更多详细信息的SO问题 。
The easiest solution at this stage would probably be to reverse engineer a minimal working django app which I could push straight to my heroku repo without any extra config. 在这个阶段,最简单的解决方案可能是反向工程一个最小的Django应用程序,我可以直接将其推送到我的heroku存储库,而无需任何额外的配置。
(The smaller the app the better a simple <h1>hello world</h1>
would do but it would need to include venv
, requirements.txt
and of course Procfile
) (应用程序越小,一个简单的<h1>hello world</h1>
venv
,但它需要包括venv
, requirements.txt
以及Procfile
)
Thanks 谢谢
Take your pick. 随便你吧。 Either of these should work for you. 这些都应该为您工作。
您可以尝试http ://django.ironcoder.me-可视化作曲家,它将正在运行的Django应用程序部署到您的heroku帐户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.