Commit graph

3 commits

Author SHA1 Message Date
Bob Roberts
f63cc7e49d Fix RQ worker startup command in start_redis_workers.sh
Changed from broken 'python3 -m rq worker' to proper 'rq worker' CLI command.
The python -m invocation was failing with 'No module named rq.__main__'.

The RQ workers are now fully operational and listening on all three queues:
- claude-os:learning
- claude-os:prompts
- claude-os:ingest

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 20:27:34 -05:00
Bob Roberts
bb3f468dd4 Add setup.sh and fix database path consistency across services
Add comprehensive one-command setup.sh script that handles:
- Prerequisites validation (Python 3, Git)
- Virtual environment creation and dependency installation
- Ollama installation and model download (llama3.1, nomic-embed-text)
- Redis installation and startup
- Directory and database initialization
- Frontend npm dependencies
- Clear progress output and next steps

Fix critical database path issues:
- Use absolute path calculation in config.py to ensure consistency
- Export SQLITE_DB_PATH environment variable in startup scripts
- Prevents database separation between app and MCP server

Fix document metadata field naming:
- Change metadata field from 'source' to 'filename' in MCP ingest
- Ensures consistency with existing document format
- Fixes document visibility issue in API endpoints

Update startup scripts to support environment-based database configuration.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 20:08:32 -05:00
Bob Roberts
d189972021 Almost got the mosnter finished 2025-10-27 17:41:44 -05:00