我创建了一个夹层项目,它的名称是 mezzanine-heroku-test 我创建了一个 Procfile,其内容如下:
网页:python manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 3
接下来,我访问该网站进行测试,我收到错误:内部服务器错误。那么,您能否帮我逐步在heroku上部署夹层或一些建议?
非常感谢。
我创建了一个夹层项目,它的名称是 mezzanine-heroku-test 我创建了一个 Procfile,其内容如下:
网页: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/
这是一个具有挑战性的过程。