File size: 843 Bytes
cca4a24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/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