#!/bin/bash # Simple Document Search Startup Script (No Docker Required!) echo "🚀 Starting Simple Document Search & RAG Chat" echo "==============================================" echo "" echo "✅ No Docker required - everything runs in memory!" echo "✅ No external dependencies needed" echo "✅ Pure browser-based AI system" echo "" # Check if Python is available if command -v python3 &> /dev/null; then PYTHON_CMD="python3" elif command -v python &> /dev/null; then PYTHON_CMD="python" else echo "❌ Python is not installed. Please install Python 3." exit 1 fi # Start the web server echo "🌐 Starting web server..." echo "📁 Serving files from: $(pwd)" echo "🔗 Open your browser and navigate to: http://localhost:8000" echo "🛑 Press Ctrl+C to stop the server" echo "" $PYTHON_CMD -m http.server 8000