python学习

This commit is contained in:
2019-08-21 17:16:47 +08:00
parent 7ef794388b
commit 8926b56c88
2 changed files with 35 additions and 28 deletions

53
.idea/workspace.xml generated
View File

@@ -2,23 +2,8 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="d564f57a-9f96-4262-9481-cacdf2b8445c" name="Default" comment="python学习">
<change beforePath="$PROJECT_DIR$/mina/app.json" beforeDir="false" afterPath="$PROJECT_DIR$/mina/app.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/food.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/music/music-start.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/music/music-stop.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/tab/ciwei.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/tab/ciwei_hl.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/tab/dianying.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/tab/dianying_hl.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/tab/yuedu.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/images/tab/yuedu_hl.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/pages/food/info.wxml" beforeDir="false" afterPath="$PROJECT_DIR$/mina/pages/food/info.wxml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mina/pages/index/index.json" beforeDir="false" afterPath="$PROJECT_DIR$/mina/pages/index/index.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mina/pages/sdindextwo/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/mina/pages/index/index.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mina/pages/sdindextwo/index.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mina/pages/sdindextwo/index.wxml" beforeDir="false" afterPath="$PROJECT_DIR$/mina/pages/index/index.wxml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mina/pages/sdindextwo/index.wxss" beforeDir="false" afterPath="$PROJECT_DIR$/mina/pages/index/index.wxss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mina/project.config.json" beforeDir="false" afterPath="$PROJECT_DIR$/mina/project.config.json" afterDir="false" />
<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="SHOW_DIALOG" value="false" />
@@ -65,11 +50,20 @@
<provider selected="true" editor-type-id="images" />
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/mina/images/search-pic.png">
<provider selected="true" editor-type-id="images" />
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/uwsgi.ini">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="62">
<caret line="2" column="12" selection-start-line="2" selection-start-column="12" selection-end-line="2" selection-end-column="12" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/mina/images/no-order.png">
<provider selected="true" editor-type-id="images" />
@@ -132,12 +126,11 @@
</replaceStrings>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/mina" />
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/mina/app.wxss" />
<option value="$PROJECT_DIR$/数据库文件/data" />
<option value="$PROJECT_DIR$/数据库文件/food.sql" />
<option value="$PROJECT_DIR$/common/models/Dongtai_list.py" />
@@ -188,6 +181,7 @@
<option value="$PROJECT_DIR$/mina/pages/sdindextwo/index.wxml" />
<option value="$PROJECT_DIR$/mina/app.json" />
<option value="$PROJECT_DIR$/mina/pages/food/info.wxml" />
<option value="$PROJECT_DIR$/uwsgi.ini" />
</list>
</option>
</component>
@@ -240,11 +234,11 @@
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="D:\order" />
<recent name="D:\order\mina\pages" />
<recent name="D:\order\mina\pages\shangpin" />
<recent name="D:\order\mina\pages\location" />
<recent name="D:\order\mina\images" />
<recent name="D:\order\mina\images\nav" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="D:\order\mina\images\nav" />
@@ -599,7 +593,14 @@
<option name="project" value="LOCAL" />
<updated>1566370687537</updated>
</task>
<option name="localTasksCounter" value="47" />
<task id="LOCAL-00047" summary="python学习">
<created>1566377907576</created>
<option name="number" value="00047" />
<option name="presentableId" value="LOCAL-00047" />
<option name="project" value="LOCAL" />
<updated>1566377907576</updated>
</task>
<option name="localTasksCounter" value="48" />
<servers />
</component>
<component name="TodoView">
@@ -653,7 +654,6 @@
<option name="LAST_COMMIT_MESSAGE" value="python学习" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/mina/pages/logs/logs.wxml" />
<entry file="file://$PROJECT_DIR$/mina/pages/posts/post-detail/post-detail.js">
<provider selected="true" editor-type-id="text-editor" />
</entry>
@@ -930,5 +930,12 @@
<entry file="file://$PROJECT_DIR$/mina/images/search-pic.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/uwsgi.ini">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="62">
<caret line="2" column="12" selection-start-line="2" selection-start-column="12" selection-end-line="2" selection-end-column="12" />
</state>
</provider>
</entry>
</component>
</project>

View File

@@ -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