Skip to content

Instantly share code, notes, and snippets.

View huanghe314's full-sized avatar

HE HUANG huanghe314

  • Tantan
  • Beijing, China
View GitHub Profile
PS F:\workspace\vagrant\vagrant_getting_started> vagrant share --ssh
==> default: Detecting network information for machine...
default: Local machine address: 127.0.0.1
default:
default: Note: With the local address (127.0.0.1), Vagrant Share can only
default: share any ports you have forwarded. Assign an IP or address to your
default: machine to expose all TCP ports. Consult the documentation
default: for your provider ('virtualbox') for more information.
default:
==> default: Generating new SSH key...
@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.