https://github.com/koho/vpark-door
云硅谷门禁网页版
https://github.com/koho/vpark-door
Last synced: about 1 year ago
JSON representation
云硅谷门禁网页版
- Host: GitHub
- URL: https://github.com/koho/vpark-door
- Owner: koho
- Created: 2022-07-04T03:12:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T03:15:20.000Z (about 4 years ago)
- Last Synced: 2025-04-14T10:54:02.203Z (about 1 year ago)
- Language: CSS
- Size: 2.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VPark Door
云硅谷门禁网页版,可代替 APP 端,开启公司门禁。
## 创建 MySQL 数据库
```sql
CREATE TABLE `door_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`time` datetime DEFAULT NULL,
`username` varchar(64) DEFAULT NULL,
`door_id` varchar(50) DEFAULT NULL,
`door_name` varchar(100) DEFAULT NULL,
`code` int(11) DEFAULT NULL,
`msg` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`)
);
```
在 `app.py` 配置数据库信息。
## 安装 Python 依赖
```shell
pip install -r requirements.txt
```
## 运行服务
```shell
python vpark.py
```