diff --git a/.env b/.env deleted file mode 100644 index 200c460..0000000 --- a/.env +++ /dev/null @@ -1,10 +0,0 @@ -DB_MAX_CONNECTIONS=50 -DB_ACQUIRE_TIMEOUT=30 -DATABASE_SCHEMA=dev -QDRANT_URL=http://127.0.0.1:6333 -QDRANT_API_KEY=Test3200Test3200Test3200 -QDRANT_COLLECTION=momentry_rule1 -MONGODB_URL=mongodb://localhost:27017 -MONGODB_CACHE_ENABLED=false -MOMENTRY_REDIS_PREFIX=momentry: -REDIS_URL=redis://:accusys@localhost:6379 \ No newline at end of file diff --git a/.env.development b/.env.development deleted file mode 100644 index 65bd0e5..0000000 --- a/.env.development +++ /dev/null @@ -1,70 +0,0 @@ -# Development Environment Configuration -# Used by: momentry_playground binary -# -# This file is loaded BEFORE the main .env file -# Settings here override defaults but can be overridden by CLI flags - -# Server Configuration -MOMENTRY_SERVER_PORT=3003 -MOMENTRY_REDIS_PREFIX=momentry_dev: - -# Worker Configuration (disabled by default for development) -MOMENTRY_WORKER_ENABLED=false -MOMENTRY_MAX_CONCURRENT=1 -MOMENTRY_POLL_INTERVAL=10 -MOMENTRY_WORKER_BATCH_SIZE=5 - -# Database (PostgreSQL) - Schema isolation -DATABASE_URL=postgres://accusys@localhost:5432/momentry -DATABASE_SCHEMA=dev - -# MongoDB - Database isolation -MONGODB_URL=mongodb://localhost:27017 -MONGODB_DATABASE=momentry_dev - -# Redis (already isolated via prefix) -REDIS_URL=redis://:accusys@localhost:6379 -REDIS_PASSWORD=accusys - -# Qdrant Vector Database - Collection isolation -QDRANT_URL=http://localhost:6333 -QDRANT_API_KEY=Test3200Test3200Test3200 -QDRANT_COLLECTION=momentry_dev_rule1 - -# Paths -MOMENTRY_OUTPUT_DIR=/Users/accusys/momentry/output_dev -MOMENTRY_BACKUP_DIR=/Users/accusys/momentry/backup/momentry_dev -MOMENTRY_SFTP_ROOT=/Users/accusys/momentry/var/sftpgo/data/demo/ - -# Python (for processing scripts) -MOMENTRY_PYTHON_PATH=/opt/homebrew/bin/python3.11 -MOMENTRY_SCRIPTS_DIR=/Users/accusys/momentry_core_0.1/scripts - -# Logging -RUST_LOG=debug -MOMENTRY_LOG_LEVEL=debug - -# Media -MOMENTRY_MEDIA_BASE_URL=https://wp.momentry.ddns.net - -# Processor Timeouts -MOMENTRY_ASR_TIMEOUT=3600 -MOMENTRY_CUT_TIMEOUT=3600 -MOMENTRY_DEFAULT_TIMEOUT=7200 - -# Cache Settings -MONGODB_CACHE_ENABLED=false -MONGODB_CACHE_TTL_VIDEOS=300 -MONGODB_CACHE_TTL_SEARCH=300 -MONGODB_CACHE_TTL_HYBRID_SEARCH=600 -MONGODB_CACHE_TTL_VIDEO_META=3600 -REDIS_CACHE_TTL_HEALTH=30 -REDIS_CACHE_TTL_VIDEO_META=3600 -# 同義詞配置文件(可選) -# 取消註釋並設置為您的同義詞JSON檔案路徑以啟用同義詞擴展 -# MOMENTRY_SYNONYM_FILE=/Users/accusys/momentry_core_0.1/docs/examples/custom_synonyms.json -# -# 多個同義詞檔案(逗號分隔),會覆蓋 MOMENTRY_SYNONYM_FILE -# MOMENTRY_SYNONYM_FILES=/path/to/first.json,/path/to/second.json -# -# 示例檔案:docs/examples/custom_synonyms.json \ No newline at end of file diff --git a/.gitignore b/.gitignore index fb78b66..f38c930 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,48 @@ id_* # Frontend dependencies node_modules/ portal/src-tauri/target/ + +# Python cache +__pycache__/ +*.pyc +*.pyo + +# Test artifacts +test_output/ +test_output_simple/ +test_output_v2/ +*.mp4 +*.pt +server.pid +server.pid.* + +# Backup files +*.bak +*.backup +*.bak[0-9] + +# Model files +models/ +model_checkpoints/ +pretrained_models/ + +# Desktop app +momentry_desktop/ + +# Release artifacts (track docs, ignore binaries) +release/*.zip +release/momentry_v* +release/*.sql +release/dev_data_*.sql +release/public_schema_*.sql +release/migrate_*.sql + +# But track release documentation +!release/*.md +!release/*.txt + +# Data directories +data/ + +# System status +system_status_*.md