9c504d2c3d
Features: - Frontend Flutter avec thème néon cyberpunk - Backend FastAPI avec streaming YouTube - Base de données PostgreSQL + Redis - Authentification JWT complète - Recherche multi-source (DB + YouTube) - Playlists CRUD avec drag & drop - Queue management - Settings avec audio quality - Interface adaptative (Desktop + Mobile) Tech Stack: - Frontend: Flutter 3.2+, Riverpod - Backend: Python 3.11+, FastAPI - Database: PostgreSQL 15+ - Cache: Redis 7+ - Streaming: yt-dlp + FFmpeg 🚀 Generated with Claude Code Co-Authored-By: Claude <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
|