Flask Documentation (1.1.x)example, to use Waitress [https://docs.pylonsproject.org/projects/waitress/en/stable/], first install it in the virtual environment: $ pip install waitress You need to tell Waitress about your application application object. $ waitress-serve --call 'flaskr:create_app' Serving on http://0.0.0.0:8080 See Deployment Options for a list of many different ways to host your application. Waitress is just an example0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)use a production WSGI server. For example, to use Waitress, first install it in the virtual environment: $ pip install waitress You need to tell Waitress about your application, but it doesn’t use FLASK_APP application object. $ waitress-serve --call 'flaskr:create_app' Serving on http://0.0.0.0:8080 See Deployment Options for a list of many different ways to host your application. Waitress is just an example0 码力 | 291 页 | 1.25 MB | 1 年前3
共 2 条
- 1
相关搜索词













