I’m struggling a bit on how to deploy my app. I’m new to flask and WSGI and despite my best attempts to understand the docs, i’m completely lost.
I have an a single app.py file that contains the layout, callbacks, everything. I’m trying to figure out how to package this up and deploy it to an aws ec2. What is the best practice way to do this?
i removed the
if __name__ == '__main__': app.run_server(debug=True)
from the bottom of my app.py file which is correct for deployment right?
Thanks for the help!