feat: Rearchitect Foxy Dev Team with FastAPI, React, SQLite, and a new Telegram bot, updating deployment configurations and documentation.

This commit is contained in:
2026-03-13 09:00:26 -04:00
parent a927534d16
commit 023e399d1d
7 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ import httpx
TELEGRAM_BOT_TOKEN = os.environ.get("TELEGRAM_BOT_TOKEN", "")
TELEGRAM_CHAT_ID = os.environ.get("TELEGRAM_CHAT_ID", "")
API_BASE_URL = os.environ.get("FOXY_API_URL", "http://localhost:8000")
API_BASE_URL = os.environ.get("FOXY_API_URL", "http://localhost:7000")
POLL_TIMEOUT = 30
# ─── LOGGING ───────────────────────────────────────────────────────────────────
@@ -204,7 +204,7 @@ async def cmd_aide(tg: TelegramClient, chat_id: str):
"<b>/reset</b> ID — Réinitialiser un projet\n"
"<b>/aide</b> — Cette aide\n\n"
"━━━━━━━━━━━━━━━━━━━━\n"
f"🌐 Dashboard : <a href='{API_BASE_URL.replace(':8000', ':5173')}'>Ouvrir</a>"
f"🌐 Dashboard : <a href='{API_BASE_URL.replace(':7000', ':5173')}'>Ouvrir</a>"
)
+3 -3
View File
@@ -66,7 +66,7 @@ StartLimitBurst=3
Type=simple
WorkingDirectory=$PROJECT_DIR/backend
EnvironmentFile=$ENV_FILE
ExecStart=$(command -v python3) -m uvicorn app.main:app --host 0.0.0.0 --port 8000
ExecStart=$(command -v python3) -m uvicorn app.main:app --host 0.0.0.0 --port 7000
Restart=on-failure
RestartSec=10
StandardOutput=journal
@@ -138,6 +138,6 @@ echo " journalctl --user -u foxy-api -f"
echo " journalctl --user -u foxy-telegram -f"
echo ""
log " Dashboard : http://localhost:5173"
log " API : http://localhost:8000"
log " API Docs : http://localhost:8000/docs"
log " API : http://localhost:7000"
log " API Docs : http://localhost:7000/docs"
log "═══════════════════════════════════════════════════════════"