python学习

This commit is contained in:
2019-08-21 16:58:26 +08:00
parent b7b9b45ac1
commit 7ef794388b
3 changed files with 124 additions and 207 deletions

17
uwsgi.ini Normal file
View File

@@ -0,0 +1,17 @@
[uwsgi]
#源码目录
chdir=/data/www/Order //需要修改
#python 虚拟环境
home=/data/www/python3_vir //需要修改
module=manager
callable=app
master=true
processes=4
http=0.0.0.0:8889
socket=/data/www/logs/order.sock //需要修改
buffer-size=65535
pidfile=/data/www/logs/order.pid //需要修改
chmod-socket=777
logfile-chmod=644
daemonize=/data/www/logs/order.log //需要修改
static-map = /static=/data/www/Order/web/static