fix: add environment variable exports to startup scripts

- Added MOMENTRY_OUTPUT_DIR, DATABASE_SCHEMA, MOMENTRY_REDIS_PREFIX exports
- Created run-worker-3002.sh for standalone worker
- Created config/ directory with environment-specific files
- Updated AGENTS.md with critical variables section and release checklist

This fixes Python subprocess environment variable inheritance issue
where store_traced_faces.py was using wrong output directory.
This commit is contained in:
Accusys
2026-06-21 21:21:32 +08:00
parent e949ac793d
commit 97180aa7cd
6 changed files with 177 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ mkdir -p logs
export DATABASE_SCHEMA=dev
export MOMENTRY_SERVER_PORT=3003
export MOMENTRY_REDIS_PREFIX=momentry_dev:
export MOMENTRY_OUTPUT_DIR=/Users/accusys/momentry/output_dev
# Kill existing server on port 3003
PID=$(lsof -ti :3003 2>/dev/null || true)