Files
MobileModels/delivery/README_en.md
2026-03-19 13:00:40 +08:00

1.6 KiB

Mobile Models

License: CC BY-NC-SA 4.0

This is the delivery directory and contains the ready-to-run Docker Compose project.

Project goals:

  • provide a ready-to-deliver device query system
  • sync upstream raw git data inside containers
  • rebuild index and refresh MySQL inside containers
  • keep deployment content independent from workspace files

Run

The project ships with device query and data management pages and now runs through docker compose:

docker compose up --build -d

Open:

  • http://127.0.0.1:8123/web/device_query.html
  • http://127.0.0.1:8123/web/brand_management.html

MySQL is started together with the stack:

  • host: 127.0.0.1
  • port: 3306
  • database: mobilemodels
  • reader user: mobilemodels_reader

If you want custom MySQL credentials, copy .env.example to .env before startup.

Structure

dist/   build outputs and MySQL seed
docs/   delivery docs
sql/    MySQL schema
tools/  container-side build and sync scripts
web/    delivered web pages

Raw source files are read from the repository root workspace/ directory.

More details:

Workspace

Raw data and historical files live under the repository root workspace/:

  • ../workspace/brands
  • ../workspace/misc
  • ../workspace/CHANGELOG.md
  • ../workspace/CHANGELOG_en.md