in-browser-rag / start-simple.sh
Johannes
init
cca4a24
raw
history blame contribute delete
843 Bytes
#!/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