配置 uWSGI:
(venv)$ pip install uwsgi # 安装 uWSGIRunning with wsgi.py file(wsgi.py is the file name with app. callable):
(venv)$ uwsgi --socket 127.0.0.1:8080 --protocol=http -w wsgiRuning under virtualenv, -H to set virtualenv to python path.