Flask Deploy app
from flask import Flask
myapp = Flask(__name__)
@myapp.route("/")
def main():
return 'Main'
{% embed include file="src/examples/flask/50/uwsgi.ini)
{% embed include file="src/examples/flask/50/nginx.conf)
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
from flask import Flask
myapp = Flask(__name__)
@myapp.route("/")
def main():
return 'Main'
{% embed include file="src/examples/flask/50/uwsgi.ini)
{% embed include file="src/examples/flask/50/nginx.conf)