- Create global wrapper script in /usr/local/bin/rag-mini - Automatically handles virtual environment activation - Suppress virtual environment warnings when using global wrapper - Update installation scripts to install global wrapper automatically - Add comprehensive timing documentation (2-3 min fast, 5-10 min slow internet) - Add agent warnings for background process execution - Update all documentation with realistic timing expectations - Fix README commands to use correct syntax (rag-mini init -p .) Major improvements: - Users can now run 'rag-mini' from anywhere without activation - Installation creates transparent global command automatically - No more virtual environment complexity for end users - Comprehensive agent/CI/CD guidance with timeout warnings - Complete documentation consistency across all files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
493 B
Bash
16 lines
493 B
Bash
#!/bin/bash
|
|
# Ultra-simple FSS-Mini-RAG setup that just works
|
|
set -e
|
|
|
|
echo "🚀 FSS-Mini-RAG Simple Setup"
|
|
|
|
# Create symlink for global access
|
|
if [ ! -f /usr/local/bin/rag-mini ]; then
|
|
sudo ln -sf "$(pwd)/rag-mini" /usr/local/bin/rag-mini
|
|
echo "✅ Global rag-mini command created"
|
|
fi
|
|
|
|
# Just make sure we have the basic requirements
|
|
python3 -m pip install --user click rich lancedb pandas numpy pyarrow watchdog requests PyYAML rank-bm25 psutil
|
|
|
|
echo "✅ Done! Try: rag-mini --help" |