文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit ca7e43fd by Wang Yuhang

部署文档的图片可以放在deployImages里面

parent e386068d
# 工具
# 工具
......@@ -19,21 +19,21 @@ root
buaaEC001
![image-20200813224011749](C:\Users\12144\AppData\Roaming\Typora\typora-user-images\image-20200813224011749.png)
![image-20200813224011749](deployImages\image-20200813224011749.png)
## 项目
项目涉及两个文件夹
![image-20200813224114649](C:\Users\12144\AppData\Roaming\Typora\typora-user-images\image-20200813224114649.png)
![image-20200813224114649](deployImages\image-20200813224114649.png)
DA-Platform是一个本地git仓库,与gitlab远程仓库相关联,可以使用git命令来拉取新代码,就不用使用winSCP来传文件了,一般情况不需要git push,只要更新本地代码就可以了,但要注意解决冲突。可以使用git stash命令暂存修改,拉取最新代码后再恢复修改,具体用法可自行了解。
![image-20200813224152859](C:\Users\12144\AppData\Roaming\Typora\typora-user-images\image-20200813224152859.png)
![image-20200813224152859](deployImages\image-20200813224152859.png)
da是服务器项目的根目录,基本和flask的目录结构一样
![image-20200813224532086](C:\Users\12144\AppData\Roaming\Typora\typora-user-images\image-20200813224532086.png)
![image-20200813224532086](deployImages\image-20200813224532086.png)
在DA-Platform拉取最新代码后,可以分成两种情况部署
......@@ -65,7 +65,7 @@ dist中有两个文件**index.html** 和 **static文件夹**
启动、停止uwsgi服务器最好都在screen已有的窗口中操作,可以避免screen中的uwsgi和外部的uwsgi冲突
![image-20200813225726988](C:\Users\12144\AppData\Roaming\Typora\typora-user-images\image-20200813225726988.png)
![image-20200813225726988](deployImages\image-20200813225726988.png)
# 常见问题
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment