script/mvcar/readme.md

41 lines
978 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 挪车电话查询系统
这是一个前后端分离的挪车电话查询系统使用Python Flask作为后端SQLite作为数据库HTML/CSS/JavaScript作为前端。
## 项目结构
- `backend/`: 后端代码Python Flask
- `frontend/`: 前端代码HTML/CSS/JavaScript
- `data/`: 数据库存放目录
## 安装与运行
1. 安装Python依赖
mvcar/
├── backend/
│ ├── app.py
│ ├── init_db.py
│ ├── view_logs.py
│ └── requirements.txt
├── frontend/
│ ├── index.html
│ ├── result.html
│ ├── css/
│ └── js/
├── data/
├── logs/
├── Dockerfile
├── nginx.conf
├── start.sh
└── docker-compose.yml (可选)
# 构建Docker镜像
docker build -t mvcar-app .
# 运行容器
docker run -d -p 80:80 --name mvcar-container mvcar-app
# 或者使用docker-compose如果创建了docker-compose.yml
docker-compose up --build -d