Keyboard shortcuts

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

Flask Deploy app

from flask import Flask
myapp = Flask(__name__)

@myapp.route("/")
def main():
    return 'Main'

uwsgi

{% embed include file="src/examples/flask/50/uwsgi.ini)

nginx

{% embed include file="src/examples/flask/50/nginx.conf)