TBM Configuration Management System

- Config versioning with approval workflow (Draft/Approved/Archived)
- Fleet management with real-time machine status
- Deploy configs to machines with status tracking
- Full audit logging for compliance
- React dashboard + FastAPI backend + machine simulator
This commit is contained in:
SpartanTech
2025-11-30 21:15:43 -06:00
commit f62ef2cf05
32 changed files with 9438 additions and 0 deletions

21
backend/.env.example Normal file
View File

@@ -0,0 +1,21 @@
# TBM Config Manager - Environment Variables
# Copy this file to .env and update values for your environment
# Demo credentials - CHANGE THESE FOR PRODUCTION
ADMIN_USERNAME=admin
ADMIN_PASSWORD=changeme
ADMIN_NAME=Admin User
ENGINEER_USERNAME=engineer
ENGINEER_PASSWORD=changeme
ENGINEER_NAME=Engineer User
OPERATOR_USERNAME=operator
OPERATOR_PASSWORD=changeme
OPERATOR_NAME=Operator User
# Database path (relative to backend directory)
DATABASE_PATH=tbm_config.db
# Online threshold in seconds
ONLINE_THRESHOLD_SECONDS=30