feat: Add database setup guide and local configuration files

- Added DATABASE_SETUP.md with comprehensive guide for PostgreSQL and Redis installation on Windows
- Created .claude/settings.local.json with permission settings for pytest and database fix scripts
- Updated .gitignore to exclude .env.backup file
- Included database connection test utilities in lyra/database_setup.py
- Added environment variable configuration examples for local development
This commit is contained in:
2025-09-29 16:29:18 -04:00
parent faa23d596e
commit d9c526fa5c
26 changed files with 3624 additions and 39 deletions

View File

@@ -7,12 +7,10 @@ including Project Gutenberg, with emphasis on quality, legality, and ethics.
from .gutenberg_crawler import GutenbergCrawler
from .knowledge_processor import KnowledgeProcessor
from .legal_validator import LegalValidator
from .acquisition_manager import KnowledgeAcquisitionManager
__all__ = [
"GutenbergCrawler",
"KnowledgeProcessor",
"LegalValidator",
"KnowledgeAcquisitionManager"
]

View File

@@ -0,0 +1,14 @@
"""
Placeholder for Knowledge Acquisition Manager.
Will be fully implemented in the next phase.
"""
class KnowledgeAcquisitionManager:
"""Placeholder knowledge acquisition manager."""
def __init__(self):
pass
async def initialize(self):
"""Initialize the knowledge acquisition system."""
pass

View File

@@ -9,7 +9,7 @@ import asyncio
import aiohttp
import aiofiles
import logging
from typing import Dict, List, Optional, AsyncGenerator, Tuple
from typing import Dict, List, Optional, AsyncGenerator, Tuple, Any
from dataclasses import dataclass
from datetime import datetime, timedelta
import re