Files
unionflow-server-api/unionflow-mobile-apps/quick_start.ps1
2025-08-20 21:00:35 +00:00

43 lines
1.6 KiB
PowerShell

# Script PowerShell pour démarrage rapide avec version temporaire
Write-Host "🚀 Installation des dépendances Flutter..." -ForegroundColor Cyan
# Installer les dépendances
flutter pub get
if ($LASTEXITCODE -ne 0) {
Write-Host "❌ Erreur lors de l'installation des dépendances" -ForegroundColor Red
exit 1
}
Write-Host "✅ Dépendances installées!" -ForegroundColor Green
Write-Host "🧪 Configuration de la version temporaire..." -ForegroundColor Cyan
# Sauvegarder le main original et utiliser la version temporaire
if (Test-Path "lib\main.dart") {
Copy-Item "lib\main.dart" "lib\main_original_backup.dart" -Force
}
Copy-Item "lib\main_temp.dart" "lib\main.dart" -Force
Write-Host "✅ Version temporaire activée!" -ForegroundColor Green
Write-Host ""
Write-Host "🎉 Prêt à tester! Lancez maintenant:" -ForegroundColor Yellow
Write-Host " flutter run" -ForegroundColor White
Write-Host ""
Write-Host "🔑 Identifiants de test:" -ForegroundColor Magenta
Write-Host " 📧 Email: admin@unionflow.dev" -ForegroundColor White
Write-Host " 🔑 Mot de passe: admin123" -ForegroundColor White
Write-Host ""
Write-Host "✨ Fonctionnalités à tester:" -ForegroundColor Blue
Write-Host " • Interface de connexion animée" -ForegroundColor Gray
Write-Host " • Validation en temps réel" -ForegroundColor Gray
Write-Host " • Feedback haptique" -ForegroundColor Gray
Write-Host " • Navigation sophistiquée" -ForegroundColor Gray
Write-Host ""
Write-Host "📝 Pour revenir à la version complète plus tard:" -ForegroundColor DarkYellow
Write-Host " Copy-Item lib\main_original_backup.dart lib\main.dart -Force" -ForegroundColor Gray