Files
rpa_vision_v3/docs/guides/INSTALL_README.md
Dom a27b74cf22 v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- Frontend v4 accessible sur réseau local (192.168.1.40)
- Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard)
- Ollama GPU fonctionnel
- Self-healing interactif
- Dashboard confiance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:23:51 +01:00

105 lines
2.1 KiB
Markdown

# 🚀 Installation Rapide - RPA Vision V3
## Problème avec run.sh ?
Le script `run.sh` a été corrigé mais peut prendre du temps. Utilisez plutôt cette méthode :
## ✅ Installation en 2 étapes
### Étape 1 : Installer les dépendances
```bash
./install_deps.sh
```
Cela va :
- Créer l'environnement virtuel `venv_v3`
- Installer toutes les dépendances Python
- Configurer l'environnement
**Durée** : 5-10 minutes (selon votre connexion)
### Étape 2 : Vérifier l'installation
```bash
./test_installation.sh
```
Cela va vérifier que tous les modules sont correctement installés.
## 🎯 Lancer l'application
Une fois l'installation terminée :
```bash
# Méthode 1 : Via run.sh (recommandé)
./run.sh
# Méthode 2 : Directement
source venv_v3/bin/activate
python run_gui.py
```
## 🔐 Sécurité (Fiche #23) — à ne pas oublier (mais le script t'aide)
Depuis la Fiche #23, l'API et le dashboard peuvent exiger un token.
- En **DEV/local**, `./run.sh` crée automatiquement un fichier `.env.local` (si absent) avec des tokens,
puis t'affiche un lien du style:
- `http://localhost:5001/?token=...`
- En **PROD/systemd**, le script `sudo ./server/install_prod_stack.sh` copie `/etc/rpa_vision_v3/rpa_vision_v3.env`
**et génère automatiquement les tokens** si tu as laissé les `CHANGE_ME`.
Voir aussi: `SECURITY_QUICKSTART.md`.
## 🔧 Commandes utiles
```bash
# Réinstaller les dépendances
./install_deps.sh
# Tester l'installation
./test_installation.sh
# Vérifier le système de capture
source venv_v3/bin/activate
python verify_capture_system.py
# Lancer les tests
source venv_v3/bin/activate
pytest tests/
```
## 📋 Que faire si ça ne marche pas ?
### Problème : "venv_v3 non trouvé"
```bash
python3 -m venv venv_v3
./install_deps.sh
```
### Problème : "Module not found"
```bash
source venv_v3/bin/activate
pip install -r requirements.txt
```
### Problème : "Permission denied"
```bash
chmod +x install_deps.sh
chmod +x test_installation.sh
chmod +x run.sh
```
## 📚 Documentation complète
Voir `INSTALLATION_GUIDE.md` pour plus de détails.
## 🎉 C'est tout !
L'installation devrait maintenant fonctionner correctement.