File size: 951 Bytes
17afe48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
#!/bin/bash

echo "πŸ”„ FastAPI Django Main Live - Post Start Setup..."

# Ensure Rust is in PATH
export PATH="$HOME/.cargo/bin:$PATH"

# Check if all dependencies are installed
echo "πŸ” Checking dependencies..."
python3 -c "
try:
    import gradio
    import fastapi
    import open_interpreter
    import sqlite3
    print('βœ… All core dependencies available')
except ImportError as e:
    print(f'❌ Missing dependency: {e}')
    print('Run: pip install -r requirements.txt')
"

# Display helpful information
echo ""
echo "πŸš€ FastAPI Django Main Live is ready!"
echo ""
echo "πŸ“± Available services:"
echo "  β€’ Main App: http://localhost:7860"
echo "  β€’ Test Manager: http://localhost:7861" 
echo "  β€’ Debug Port: 5678"
echo ""
echo "πŸ› οΈ Quick commands:"
echo "  β€’ Start main app: python3 app.py"
echo "  β€’ Start debug mode: python3 app_debug_server.py"
echo "  β€’ Test prompt manager: python3 test_prompt_manager.py"
echo ""