The earlier swap to BOX_CAMPAIGNS_FOLDER_ID=133295752718 was wrong — Video Master operates on the automation campaigns folder (156182880490), where subfolders are named by campaign TITLE rather than the numeric job ID used in Reporting's root. Reverted the default in config.py and all three .env example files. Folder naming on Box is inconsistent — '1_CFUL263C01C_Kids drop1' vs '1_CFUL263C01F-Kids drop 2' vs 'Summer Activation 2026' all coexist. search_subfolder now strips every non-alphanumeric character from both the search input and the folder names before substring match, so: "kids drop 1" → matches "1_CFUL263C01C_Kids drop1" "Spring 2026" → matches "4023 Spring 2026" "winterfilm" → matches "1_WA20263C01 Winter Film" Form label/placeholder updated to "Campaign Title" with a hint that spaces/underscores/hyphens/case are all ignored.
31 lines
876 B
Text
31 lines
876 B
Text
# HM AI QC — Dev environment starter
|
|
# Copy to /opt/hm-aiqc/.env and fill in real secrets.
|
|
|
|
# Azure AD authentication (shared with AI QC sibling project)
|
|
AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
|
|
|
|
ENVIRONMENT=development
|
|
|
|
# Box Configuration
|
|
BOX_CONFIG_PATH=config/box_config.json
|
|
BOX_REPORT_FOLDER_ID=133295752718
|
|
BOX_CAMPAIGNS_FOLDER_ID=156182880490
|
|
|
|
# Flask
|
|
FLASK_APP=app:app
|
|
FLASK_ENV=production
|
|
# Generate with: python -c 'import secrets; print(secrets.token_urlsafe(48))'
|
|
SECRET_KEY=replace-me-with-a-long-random-string
|
|
|
|
# Server
|
|
HOST=0.0.0.0
|
|
PORT=5000
|
|
|
|
# Database — absolute path inside the container, mapped to ./database on host
|
|
DATABASE_URI=sqlite:////app/database/qc_platform.db
|
|
|
|
# LLM Provider Keys (NO HARDCODED KEYS — set real values below)
|
|
OPENAI_API_KEY=
|
|
GOOGLE_API_KEY=
|
|
ANTHROPIC_API_KEY=
|