801e6a050b
- Documentation archivée et réorganisée - Backend: Ajout tests, migrations, library service, rate limiting - Frontend: Suppression Flutter, focus sur interface web HTML/JS - Tailwind CSS ajouté pour le style - Améliorations UX et corrections bugs Generated with [Claude Code](https://claude.com/claude-code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
95 lines
1.9 KiB
Markdown
95 lines
1.9 KiB
Markdown
# 🎵 AudiOhm - Guide de Build Rapide
|
|
|
|
## 🚀 Status Actuel
|
|
|
|
✅ **Flutter installé** - Version 3.38.7
|
|
✅ **Configuration Android** - Prête
|
|
✅ **Configuration Windows** - Prête
|
|
✅ **Dépendances** - Installées
|
|
⚠️ **Android SDK** - À installer
|
|
⚠️ **Web Build** - Problème de compatibilité audio
|
|
|
|
---
|
|
|
|
## 📱 Builder Android APK
|
|
|
|
### Prérequis
|
|
Installer Android SDK:
|
|
```bash
|
|
# Option rapide: Command-line tools
|
|
mkdir -p ~/Android/sdk
|
|
cd ~/Android/sdk
|
|
wget https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip
|
|
unzip commandlinetools-*.zip
|
|
export ANDROID_HOME=~/Android/sdk
|
|
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
|
|
```
|
|
|
|
Accepter les licenses:
|
|
```bash
|
|
flutter doctor --android-licenses
|
|
```
|
|
|
|
### Build
|
|
```bash
|
|
cd /opt/audiOhm/frontend
|
|
flutter build apk --release
|
|
```
|
|
|
|
**Output:** `build/app/outputs/flutter-apk/app-release.apk`
|
|
|
|
---
|
|
|
|
## 🪟 Builder Windows EXE
|
|
|
|
⚠️ **Doit être fait sur Windows uniquement**
|
|
|
|
### Sur Windows:
|
|
```powershell
|
|
cd frontend
|
|
flutter build windows --release
|
|
```
|
|
|
|
**Output:** `build/windows/runner/Release/audiOhm.exe`
|
|
|
|
---
|
|
|
|
## 🌐 Tester l'Application (Sans Build)
|
|
|
|
### Web (Chrome)
|
|
```bash
|
|
cd /opt/audiOhm/frontend
|
|
flutter run -d chrome
|
|
```
|
|
|
|
### Desktop Linux (si activé)
|
|
```bash
|
|
flutter config --enable-linux-desktop
|
|
flutter run -d linux
|
|
```
|
|
|
|
---
|
|
|
|
## 🔧 Problèmes Courants
|
|
|
|
### "No Android SDK found"
|
|
→ Installer Android SDK (voir section Android)
|
|
|
|
### "build windows only supported on Windows hosts"
|
|
→ Normal. Le build Windows doit être fait sur Windows.
|
|
|
|
### Web build errors avec just_audio
|
|
→ Problème de compatibilité connu. Voir BUILD_STATUS.md pour solutions.
|
|
|
|
---
|
|
|
|
## 📚 Documentation Complète
|
|
|
|
- **BUILD_STATUS.md** - Status détaillé et troubleshooting
|
|
- **BUILDS.md** - Documentation complète des builds
|
|
- **BUILD_INSTRUCTIONS.md** - Instructions détaillées
|
|
|
|
---
|
|
|
|
**Prochaine étape recommandée:** Installer Android SDK pour créer l'APK Android
|