[Flask] Why flask.run() is not for production environment
deepakpjose at gmail.com
Mon Jul 10 04:10:45 EDT 2017
Can someone explain me why run() is not good for production environment?
All the examples I have seen for flask use run. Can someone help me to
understand why it is not recommended and
how we have to deploy our app then? The :ref:'deployment' can be found
Excerpts from flask documentation for run:
def run(self, host=None, port=None, debug=None, **options):
"""Runs the application on a local development server.
*Do not use ``run()`` in a production setting. It is not intended to*
*meet security and performance requirements for a production server.*
*Instead, see :ref:`deployment` for WSGI server recommendations.*Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flask