a89c7894cf
Backend: - FastAPI avec PostgreSQL et Redis - Authentification JWT complète - API REST pour musique, playlists, recherche - Streaming audio via yt-dlp - SQLAlchemy 2.0 async Frontend: - Flutter avec thème néon cyberpunk - State management Riverpod - Layout adaptatif desktop/mobile - Lecteur audio avec mini-player Infrastructure: - Docker Compose (PostgreSQL + Redis) - Scripts d'installation automatisés - Scripts de build pour exécutables Fichiers ajoutés: - BUILD_CLIENT_*.bat/sh: Scripts de compilation - BUILD_CLIENT_README.md: Documentation compilation - CHECK_FLUTTER.sh: Vérificateur d'environnement - requirements.txt mis à jour pour Python 3.13 - Modèles SQLAlchemy corrigés (metadata -> extra_metadata) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
45 lines
1.1 KiB
Batchfile
45 lines
1.1 KiB
Batchfile
@echo off
|
|
echo ========================================
|
|
echo SPOTIFY LE 2 - DEMARRAGE
|
|
echo ========================================
|
|
echo.
|
|
|
|
REM Vérifier que l'installation a été faite
|
|
if not exist backend\venv\Scripts\activate.bat (
|
|
echo [ERREUR] Backend n'est pas installe!
|
|
echo Lancez INSTALL_WINDOWS.bat d'abord.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [1/3] Demarrage du Backend FastAPI...
|
|
cd backend
|
|
start "Spotify Le 2 - Backend" cmd /k "venv\Scripts\activate.bat && uvicorn app.main:app --reload --host 0.0.0.0 --port 8000"
|
|
|
|
echo.
|
|
echo [2/3] Attente du Backend (5 secondes)...
|
|
timeout /t 5 /nobreak >nul
|
|
|
|
echo.
|
|
echo [3/3] Demarrage du Frontend Flutter...
|
|
cd ..\frontend
|
|
|
|
echo Choisissez la plateforme:
|
|
echo 1. Windows (Desktop)
|
|
echo 2. Android (Emulateur ou appareil)
|
|
echo.
|
|
set /p platform="Votre choix (1 ou 2): "
|
|
|
|
if "%platform%"=="1" (
|
|
echo Lancement sur Windows Desktop...
|
|
flutter run -d windows
|
|
) else if "%platform%"=="2" (
|
|
echo Lancement sur Android...
|
|
flutter run -d android
|
|
) else (
|
|
echo Choix invalide. Lancement sur Windows par defaut.
|
|
flutter run -d windows
|
|
)
|
|
|
|
pause
|