From 61b54813edd7f2b12b051344f57e9db1e8788144 Mon Sep 17 00:00:00 2001 From: Gumingjie0312 <3093890893@qq.com> Date: Tue, 31 Jan 2023 12:50:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\345\274\272js\345\274\225\346\223\216.md" | 0 ...55\345\273\272\350\257\264\346\230\216.md" | 60 +++++++++++++++++++ ...47\344\275\254\345\217\213\351\223\276.md" | 0 ...55\345\273\272\350\257\264\346\230\216.md" | 0 ...23\351\225\277\344\271\261\350\257\264.md" | 0 5 files changed, 60 insertions(+) rename "python\346\234\200\345\274\272js\345\274\225\346\223\216.md" => "doc/python\346\234\200\345\274\272js\345\274\225\346\223\216.md" (100%) create mode 100644 "doc/windows\346\220\255\345\273\272\350\257\264\346\230\216.md" rename "\345\244\247\344\275\254\345\217\213\351\223\276.md" => "doc/\345\244\247\344\275\254\345\217\213\351\223\276.md" (100%) rename "\345\256\211\345\215\223\346\234\254\345\234\260\346\220\255\345\273\272\350\257\264\346\230\216.md" => "doc/\345\256\211\345\215\223\346\234\254\345\234\260\346\220\255\345\273\272\350\257\264\346\230\216.md" (100%) rename "\351\201\223\351\225\277\344\271\261\350\257\264.md" => "doc/\351\201\223\351\225\277\344\271\261\350\257\264.md" (100%) diff --git "a/python\346\234\200\345\274\272js\345\274\225\346\223\216.md" "b/doc/python\346\234\200\345\274\272js\345\274\225\346\223\216.md" similarity index 100% rename from "python\346\234\200\345\274\272js\345\274\225\346\223\216.md" rename to "doc/python\346\234\200\345\274\272js\345\274\225\346\223\216.md" diff --git "a/doc/windows\346\220\255\345\273\272\350\257\264\346\230\216.md" "b/doc/windows\346\220\255\345\273\272\350\257\264\346\230\216.md" new file mode 100644 index 0000000..30a1663 --- /dev/null +++ "b/doc/windows\346\220\255\345\273\272\350\257\264\346\230\216.md" @@ -0,0 +1,60 @@ +# Windows搭建说明 +###### qq官群1:714730084 +###### qq官群3:878847174 +##### [加群链接生成器](https://qun.qq.com/join.html) +##### [git图标生成器](https://github.com/badges/shields) + + +## 方法一:docker安装(推荐) +### 先确认本地有docker + +```shell +docker version +``` + +如输出类似 +``` +Client: + Version: 20.10.23 + API version: 1.41 + Go version: go1.18.10 + Git commit: 7155243 + Built: Thu Jan 19 17:43:10 2023 + OS/Arch: windows/amd64 + Context: default + Experimental: true + ``` +则说明本地有docker + +如果没有这样的提示则说明本地没有docker,可以参考[这篇文章](https://www.runoob.com/docker/windows-docker-install.html) + +接下来安装容器,输入以下指令即可安装 +```shell +docker run -it -p 5705:5705 -p 9001:9001 --restart=always --name drpy -d hjdhnx/drpy +``` + +没有错误提示的话就可以在**这台电脑打开**[链接](http://localhost:5705/index) + +若能打开即搭建成功 + +## 方法二:使用python运行 +```shell +#先将项目克隆到本地 +git clone https://gitcode.net/qq_32394351/dr_py.git + +#进入目录 +cd dr_py + +#安装所需依赖 +pip install -r requirement.txt + +#运行主程序 +python app.py +``` + +若报错,请检查是否有python环境`python --version`,入如果没有,请到[python官网下载](https://www.python.org/) + +同样,没有错误提示的话就可以在**这台电脑打开**[链接](http://localhost:5705/index) + +--- +如果有问题,请提出[issue](https://gitcode.net/qq_32394351/dr_py/-/issues?spm=1033.2243.3001.5874) \ No newline at end of file diff --git "a/\345\244\247\344\275\254\345\217\213\351\223\276.md" "b/doc/\345\244\247\344\275\254\345\217\213\351\223\276.md" similarity index 100% rename from "\345\244\247\344\275\254\345\217\213\351\223\276.md" rename to "doc/\345\244\247\344\275\254\345\217\213\351\223\276.md" diff --git "a/\345\256\211\345\215\223\346\234\254\345\234\260\346\220\255\345\273\272\350\257\264\346\230\216.md" "b/doc/\345\256\211\345\215\223\346\234\254\345\234\260\346\220\255\345\273\272\350\257\264\346\230\216.md" similarity index 100% rename from "\345\256\211\345\215\223\346\234\254\345\234\260\346\220\255\345\273\272\350\257\264\346\230\216.md" rename to "doc/\345\256\211\345\215\223\346\234\254\345\234\260\346\220\255\345\273\272\350\257\264\346\230\216.md" diff --git "a/\351\201\223\351\225\277\344\271\261\350\257\264.md" "b/doc/\351\201\223\351\225\277\344\271\261\350\257\264.md" similarity index 100% rename from "\351\201\223\351\225\277\344\271\261\350\257\264.md" rename to "doc/\351\201\223\351\225\277\344\271\261\350\257\264.md" -- GitLab