Skip to content

Instantly share code, notes, and snippets.

View huanghe314's full-sized avatar

HE HUANG huanghe314

  • Tantan
  • Beijing, China
View GitHub Profile
@huanghe314
huanghe314 / uwsgi.md
Created June 15, 2018 09:37
uWSGI Tips

配置 uWSGI:

(venv)$ pip install uwsgi                           # 安装 uWSGI

Running with wsgi.py file(wsgi.py is the file name with app. callable):

(venv)$ uwsgi --socket 127.0.0.1:8080 --protocol=http -w wsgi

Runing under virtualenv, -H to set virtualenv to python path.