我创建了一个夹层项目,它的名字是mezzanine-heroku-test我创建了一个Procfile,其内容如下:
web:python manage.py run_gunicorn -b“0.0.0.0:$PORT”-w 3
接下来,我访问网站进行测试,我收到错误:内部服务器错误。 那么,请你帮我一步一步地在heroku上部署夹层或者一些建议吗?
非常感谢。
您应该能够在日志中看到使用heroku工具可以获得的错误。
heroku logs
这些都是彻底的。
https://gist.github.com/joshfinnie/4046138 http://www.benhavilland.com/blog/deploying-mezzanine-on-heroku/
这是一个充满挑战的过程。