How to deploy structured Flask app on AWS elastic beanstalk

后端 未结 7 1420
猫巷女王i
猫巷女王i 2020-12-08 03:05

After successfully deploying a test app using the steps outlined here: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_flask.html

I tried

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-08 04:02

    Your WSGIPath refers to a file that does not exist.

    This error appears because Beanstalk, by default, looks for application.py. Check at Beanstalk web UI, Configuration > Software Configuration, WSGIPath is mapped to application.py

    Update the WSGIPath as shown in the previous replies or rename to application.py file.

提交回复
热议问题