所以我刚刚用 python、virtualenv 和 lpthw.web 创建了我的第一个小网站。当我运行 python bin/app.py 时,我可以去我的浏览器访问 localhost:8080 并且它没有问题。
但是,在设置 Heroku 之后,当我运行 Foreman 时,我得到: ImportError: No Module named hello。
我不知道这是否相关,但我还是尝试将它部署到 heroku,当我输入 heroku open 时,我得到:
at=error code=H10 desc="App crashed" method=GET path=/ host=arcane-lake- 2908.herokuapp.com fwd="71.20.1.73" dyno= connect= service= status=503 bytes=
2013-09-03T09:47:58.419844+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=arcane-lake-2908.herokuapp.com fwd="71.20.1.73" dyno= connect= service= status=503 bytes=