From 8926b56c8815c1db644dc3751dff0d3a2a604f85 Mon Sep 17 00:00:00 2001 From: jianbo <263303411@qq.com> Date: Wed, 21 Aug 2019 17:16:47 +0800 Subject: [PATCH] =?UTF-8?q?python=E5=AD=A6=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 53 +++++++++++++++++++++++++-------------------- uwsgi.ini | 10 ++++----- 2 files changed, 35 insertions(+), 28 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1e3add0..02591c9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,23 +2,8 @@ - - - - - - - - - - - - - - - - - + + - @@ -240,11 +234,11 @@ + - @@ -599,7 +593,14 @@ @@ -653,7 +654,6 @@ - @@ -930,5 +930,12 @@ + + + + + + + \ No newline at end of file diff --git a/uwsgi.ini b/uwsgi.ini index 034df03..37cd22f 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -1,17 +1,17 @@ [uwsgi] #源码目录 -chdir=/data/www/Order //需要修改 +chdir=/Order #python 虚拟环境 -home=/data/www/python3_vir //需要修改 +home=/python3_vir module=manager callable=app master=true processes=4 http=0.0.0.0:8889 -socket=/data/www/logs/order.sock //需要修改 +socket=/logs/order.sock buffer-size=65535 -pidfile=/data/www/logs/order.pid //需要修改 +pidfile=/logs/order.pid chmod-socket=777 logfile-chmod=644 -daemonize=/data/www/logs/order.log //需要修改 +daemonize=/logs/order.log static-map = /static=/data/www/Order/web/static \ No newline at end of file