使用此处列出的步骤成功部署测试应用程序后: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
包含我的网址映射.
我已尝试eb
在根目录和myApp
模块内初始化实例,git aws.push
但我在AWS仪表板上收到以下错误:
ERROR Your WSGIPath refers to a file that does not exist.
应用程序不起作用(任何路径为404).
如何将上述Flask
应用程序部署到弹性beanstalk?