shell pip install gunicorn shell gunicorn --version python from flask import Flask app = Flask(__name__) @app.route('/') def hello(): return "Hello, World!" if __name__ == '__main__': app.run() python shell gunicorn app:app -c gunicorn.conf.py shell gunicorn app:app -c gunicorn.conf.py --reload shell gunicorn app:app -c gunicorn.conf.py --daemon shell kill <PID>


上一篇:
下一篇:
切换中文