Metadata-Version: 2.4
Name: passive_server
Version: 1.28.0
Summary: 作为服务端的设备
Author: WeiLiu
Author-email: 183074632@qq.com
Requires-Python: >=3.11,<3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: alembic (>=1.14.0,<2.0.0)
Requires-Dist: bar-tender-api (>=1.0.0)
Requires-Dist: cffi (>=1.17.0,<2.0.0)
Requires-Dist: gkg-laser (>=1.0.0)
Requires-Dist: hslcommunication (>=1.2.0,<2.0.0)
Requires-Dist: inovance-tag-plc (>=1.0.0,<2.0.0)
Requires-Dist: mitsubishi-plc (>=1.6.0)
Requires-Dist: modbus-api (>=1.15.0,<2.0.0)
Requires-Dist: modbus-tk (>=1.1.4,<2.0.0)
Requires-Dist: mysql-api (>=1.13.0,<2.0.0)
Requires-Dist: openpyxl (>=3.1.5,<4.0.0)
Requires-Dist: pandas (>=2.2.3,<3.0.0)
Requires-Dist: pillow (>=10.4.0,<11.0.0)
Requires-Dist: pyairtable (>=2.3.3,<3.0.0)
Requires-Dist: pymysql (>=1.1.1,<2.0.0)
Requires-Dist: python-snap7 (>=2.0.2,<3.0.0)
Requires-Dist: pythonnet (>=3.0.3,<4.0.0)
Requires-Dist: secsgempro (>=1.0.0,<2.0.0)
Requires-Dist: siemens-plc (>=1.8.0,<2.0.0)
Requires-Dist: socket-pro (>=1.0.0,<2.0.0)
Requires-Dist: sqlalchemy (>=2.0.36,<3.0.0)
Requires-Dist: suds-community (>=1.2.0,<2.0.0)
Requires-Dist: websockets (>=14.1,<15.0)
Description-Content-Type: text/markdown

# 软件部署
## 安装 MySql 数据库
### 数据库版本
```plantuml
mysql-8.4.9 及以上
```
### 安装
```plantuml
安装在 D 盘
```
### 数据库安装问题
```plantuml
1. redist.x64 依赖找不到, 双击 VC_redist.x64.exe 安装即可
2. 如果使用 mysql-9.3.0 版本安装失败直接使用 mysql-8.4.9 版本数据库
```
---
## 安装 Navicat Premium 16
### 安装
```plantuml
安装在 D 盘
```
### 破解
```plantuml
破解过程中不要联网
```
## 通过 Navicat 创建数据库表
### 创建数据库
```plantuml
数据库名称 big_beauty
```

### 创建数据表
```plantuml
1. 先导出之前的数据表成 sql 文件
2. 通过 Navicat 导入 sql 文件, 选择数据库 big_beauty 运行 即可
```
---
## 安装 Python
### Python 版本
```plantuml
3.11.9
```

### 安装
```plantuml
1. 在 D 盘下创建 Python3.11.9 目录
2. 安装的时候选择此目录
```
---
## 安装 Pycharm
### 版本
```plantuml
安装最新版本即可
```
### 安装
```plantuml
1. 安装在 D 盘下, 安装目录不要有空格, 因为在 debug 下运行 flask 项目的时候会报错
```
---

# 代码部署
## 创建虚拟环境
```plantuml
通过 pycharm 创建虚拟环境
```
## 安装依赖
```shell
pip install poetry
poetry install
```
---
# 运行项目
```plantuml
运行项目下 example.py 文件
```
