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 "" | |