How to deploy structured Flask app on AWS elastic beanstalk

后端 未结 7 1426
猫巷女王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 03:42

    As of awsebcli 3.0, you can actually edit your configuration settings to represent your WSGI path via eb config. The config command will then pull (and open it in your default command line text editor, i.e nano) an editable config based on your current configuration settings. You'll then search for WSGI and update it's path that way. After saving the file and exiting, your WSGI path will be updated automatically.

提交回复
热议问题