11

Deploying Flask Applications

When the development of a Flask application is over, you can always decide to deploy it somewhere outside Werkzeug’s HTTP server. The final application needs a production server that is fast and reliable, with minimal or no potential security risks, configurable, and easy to manage. Instead of utilizing the built-in Werkzeug server, the product needs a non-development server not for development, debugging, or testing but for running the software product. Flask deployment requires a stable and independent Python server or a hosting platform.

This chapter will focus on different approaches, options, and procedures for deploying Flask applications to production servers suited for the product’s scope, environment, ...

Get Mastering Flask Web and API Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.