release: v1.3.2 - Cross-Machine Deployment Support
Major Changes: - Removed all hardcoded paths for cross-machine deployment - Added unified path management module (path_utils.rs) - Supports arbitrary user home directories - Environment variable configuration for all paths New Features: - path_utils module with 15+ path resolution functions - Dynamic user home directory detection - Environment variable overrides for all paths - Default paths using $HOME/momentry and $HOME/momentry_core Fixed Files: - Rust code: 8 core files (release.rs, service.rs, markbase_compat.rs, etc.) - Python scripts: 10 files (ASR, ASRX, Face, Identity, VLM, Migration) - Configuration: production.env (removed hardcoded paths) Environment Variables Supported: - HOME - User home directory - MOMENTRY_ROOT - Momentry root directory - MOMENTRY_CORE_DIR - Momentry_core directory - MOMENTRY_OUTPUT_DIR - Output directory - MOMENTRY_BACKUP_DIR - Backup directory - MOMENTRY_STORAGE_ROOT - Storage root directory - MOMENTRY_SCRIPTS_DIR - Scripts directory - MOMENTRY_CLI_DIR - CLI tools directory Breaking Changes: - None (backward compatible with environment variables) Deployment: - Can now deploy to any machine with any username - No hardcoded /Users/accusys paths in core functionality - Ready for M4ProMini deployment (/Users/nextorageai)
This commit is contained in:
+13
-4
@@ -43,10 +43,19 @@ MOMENTRY_LLM_VISION_MODEL=gemma-4-E4B-it-Q4_K_M.gguf
|
||||
MOMENTRY_LLM_VISION_TIMEOUT=120
|
||||
|
||||
# === Paths ===
|
||||
MOMENTRY_OUTPUT_DIR=/Users/accusys/momentry/output_dev
|
||||
MOMENTRY_BACKUP_DIR=/Users/accusys/momentry/backup
|
||||
MOMENTRY_SCRIPTS_DIR=/Users/accusys/momentry_core_0.1/scripts
|
||||
MOMENTRY_PYTHON_PATH=/opt/homebrew/bin/python3.11
|
||||
# These paths will be auto-detected if not set
|
||||
# Default: $HOME/momentry/output_dev
|
||||
# MOMENTRY_OUTPUT_DIR=/path/to/output
|
||||
|
||||
# Default: $HOME/momentry/backup
|
||||
# MOMENTRY_BACKUP_DIR=/path/to/backup
|
||||
|
||||
# Default: $PROJECT_ROOT/tools/script
|
||||
# MOMENTRY_SCRIPTS_DIR=/path/to/scripts
|
||||
|
||||
# Default: /opt/homebrew/bin/python3.11
|
||||
# MOMENTRY_PYTHON_PATH=/path/to/python
|
||||
|
||||
MOMENTRY_FFMPEG=/opt/homebrew/opt/ffmpeg-full/bin/ffmpeg
|
||||
MOMENTRY_MEDIA_BASE_URL=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user