diff --git a/CLAUDE.md b/CLAUDE.md index 881d355..47397a6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -178,7 +178,7 @@ PCs are in the machines table, identified by: ### Gitea (Version Control) - **URL:** `http://localhost:3000` -- **API Token:** *(add token here if needed)* +- **API Token:** `920b6601a4481be582a513cd6ba489a30e0dba20` - **Repo:** `cproudlock/shopdb` ## Testing diff --git a/README.md b/README.md new file mode 100644 index 0000000..6b5a7ad --- /dev/null +++ b/README.md @@ -0,0 +1,70 @@ +# ShopDB + +Manufacturing shop floor infrastructure management system for GE Aerospace. Tracks machines, PCs, printers, and network devices. + +## Tech Stack + +- **Backend:** Classic ASP (VBScript) +- **Database:** MySQL 5.6 +- **Frontend:** Bootstrap 4.6, jQuery, DataTables +- **Server:** IIS on Windows + +## Features + +- Equipment inventory (CNC machines, lathes, mills, etc.) +- PC asset tracking with warranty monitoring +- Printer management with Zabbix integration +- Network device tracking (switches, access points, cameras) +- Knowledge base for troubleshooting +- Interactive floor maps +- REST API for PowerShell data collection + +## Quick Start + +```bash +# Start dev environment +~/start-dev-env.sh + +# Access application +http://192.168.122.151:8080 + +# Run tests +./tests/test_forms.sh + +# Connect to MySQL +docker exec -it dev-mysql mysql -u root -prootpassword shopdb +``` + +## Documentation + +| Document | Purpose | +|----------|---------| +| [CLAUDE.md](CLAUDE.md) | AI assistant context | +| [docs/QUICK_REFERENCE.md](docs/QUICK_REFERENCE.md) | Cheat sheets, common queries | +| [docs/API.md](docs/API.md) | REST API documentation | +| [docs/STANDARDS.md](docs/STANDARDS.md) | Coding standards | + +## Database Schema + +``` +machines table (unified) + ├── Equipment (machinetypeid 1-15) + ├── PCs (pctypeid IS NOT NULL) + └── Network Devices (machinetypeid 16-20) + +printers table (separate) +communications table (network interfaces) +machinerelationships table (PC↔equipment links) +``` + +## Testing + +```bash +./tests/test_forms.sh # 41 endpoint tests +``` + +Tests page loads, form submissions, and API endpoints. + +## License + +Internal use - GE Aerospace