Files
MobileModels/README.md

46 lines
1.2 KiB
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.
# 手机品牌型号汇总
当前项目以根目录作为统一入口,支持通过 Docker Compose 直接启动设备查询、数据管理和 MySQL 服务。
## 启动方式
```bash
docker compose up --build -d
```
如需本地测试 MySQL一起叠加测试配置启动
```bash
docker compose -f docker-compose.yml -f docker-compose.test.yml up --build -d
```
页面入口:
- `http://127.0.0.1:8123/web/device_query.html`
- `http://127.0.0.1:8123/web/brand_management.html`
- `http://127.0.0.1:8123/web/device_query.html?view=docs`
## 目录结构
```text
workspace/ 上游原始数据、补充资料与历史文件
dist/ 构建产物与 MySQL seed
docs/ 项目文档
sql/ MySQL schema
tools/ 构建、同步、导入与服务脚本
web/ 页面与静态资源
```
## 说明
- `workspace/` 用于存放原始数据工作区
- `docker-compose.yml``Dockerfile``tools/` 都位于项目主目录
- 默认主配置面向远程 MySQL
- `docker-compose.test.yml` 中的 MySQL 仅用于本地测试
- 上游原始 git 同步、索引构建和 MySQL 刷新都在容器内完成
更多说明见:
- [docs/README.md](docs/README.md)
- [docs/web-ui.md](docs/web-ui.md)