【发布时间】:2013-12-31 18:20:18
【问题描述】:
使用此处概述的步骤成功部署测试应用后: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_flask.html
我尝试部署具有以下结构的实际烧瓶应用程序:
myApp/
runServer.py
requirements.txt
myApp/
__init__.py
helpers.py
clean.sh
static/
myApp.css
handlers/
__init__.py
views.py
templates/
layout.html
viewOne.html
viewTwo.html
views.py 包含我的 url 映射。
我尝试在根目录以及 myApp 模块和 git aws.push 中初始化 eb 实例,但在 AWS 仪表板上出现以下错误:
ERROR Your WSGIPath refers to a file that does not exist. 并且应用程序无法运行(任何路径为 404)。
如何将上述Flask 应用程序部署到弹性beantalk?
【问题讨论】:
标签: python amazon-web-services flask amazon-elastic-beanstalk