The PM panel (PmPanelPage -> iframe /pm/) needs the project-management platform served at /pm/ on the ERP domain. Source: org repo Aramesh/PM, branch feature/project-management-platform. Update via: git subtree pull --prefix=pm aramesh-pm feature/project-management-platform --squash
20 lines
588 B
Bash
20 lines
588 B
Bash
# PM — Construction Project Management Platform
|
|
# Copy to .env and customize as needed (never commit .env)
|
|
|
|
# Database credentials
|
|
PM_DB_PASSWORD=pm_secret_2026
|
|
|
|
# Session secret (random 32+ bytes hex string)
|
|
PM_SESSION_SECRET=change-me-32-bytes-hex
|
|
|
|
# Initial admin account
|
|
PM_ADMIN_USER=admin
|
|
PM_ADMIN_PASSWORD=pm123456
|
|
|
|
# ERP service account (Casdoor org `inventory` - for materials/warehouse integration)
|
|
PM_ERP_CASDOOR_CLIENT_ID=inventory-app-client
|
|
PM_ERP_CASDOOR_CLIENT_SECRET=inventory-app-secret-2026
|
|
PM_ERP_SERVICE_USERNAME=pm-service
|
|
PM_ERP_SERVICE_PASSWORD=pm-service-2026
|
|
|