spiderChow
2/7/2018 - 6:58 AM

uwsgi deploy web app

after install wsgi
cd in the folder:

command line way:
  wsgi --http :7134 --wsgi-file manager.py --callable app
  
then type thw ip:7134 in your brower.

参数daemonize
使进程在后台运行,并将日志打到指定的日志文件或者udp服务器
--daemonize /var/log/uwsgi.log