python学习

This commit is contained in:
2019-08-21 18:15:55 +08:00
parent 985496177c
commit f4ab355770
3 changed files with 32 additions and 18 deletions

21
.idea/workspace.xml generated
View File

@@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="d564f57a-9f96-4262-9481-cacdf2b8445c" name="Default" comment="python学习"> <list default="true" id="d564f57a-9f96-4262-9481-cacdf2b8445c" name="Default" comment="python学习" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/uwsgi.ini" beforeDir="false" afterPath="$PROJECT_DIR$/uwsgi.ini" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -271,13 +268,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1528044544203</updated> <updated>1528044544203</updated>
</task> </task>
<task id="LOCAL-00002" summary="python学习">
<created>1563352800796</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1563352800796</updated>
</task>
<task id="LOCAL-00003" summary="python学习"> <task id="LOCAL-00003" summary="python学习">
<created>1563411566956</created> <created>1563411566956</created>
<option name="number" value="00003" /> <option name="number" value="00003" />
@@ -614,7 +604,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1566381726556</updated> <updated>1566381726556</updated>
</task> </task>
<option name="localTasksCounter" value="51" /> <task id="LOCAL-00051" summary="python学习">
<created>1566381928447</created>
<option name="number" value="00051" />
<option name="presentableId" value="LOCAL-00051" />
<option name="project" value="LOCAL" />
<updated>1566381928447</updated>
</task>
<option name="localTasksCounter" value="52" />
<servers /> <servers />
</component> </component>
<component name="TodoView"> <component name="TodoView">

View File

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

17
uwsgitwo.ini Normal file
View File

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