201 lines
4.9 KiB
Markdown
Executable File
201 lines
4.9 KiB
Markdown
Executable File
# 🐾 H3R7Tech - Cartographie des Services & Versions
|
|
|
|
_Dernière mise à jour: 26 février 2026_
|
|
|
|
---
|
|
|
|
## 📋 Contexte du Projet
|
|
|
|
**Objectif:** Créer une entreprise H3R7Tech pour services B2B (démarchage, marketing, scraping, CRM) + système de paris hippiques.
|
|
|
|
**Infrastructure:**
|
|
- VPS: 178.18.250.53 (Contabo)
|
|
- User: h3r7
|
|
- Ports clés: 8765-8773
|
|
- Git: Gitea (port 3000)
|
|
|
|
---
|
|
|
|
## 🏇 Module Turf - Paris Hippiques
|
|
|
|
### v1.0 (2026-02-21)
|
|
- **Dashboard principal** - Port 8765
|
|
- API combinée PMU, Boturfers, Zone-Turf, Canalturf
|
|
- Prédictions automatiques (3 favoris par course)
|
|
- Budget: 6€/course
|
|
- Statistiques ROI
|
|
|
|
### v1.1 (2026-02-22)
|
|
- Ajout analyses jockeys/entraineurs
|
|
- Comparaison prédictions vs résultats
|
|
- Tracking performance
|
|
|
|
### v1.2 (2026-02-23)
|
|
- Interface dashboard redesign
|
|
- Exports résultats
|
|
- Script automatisation cron
|
|
|
|
### v1.3 (2026-02-24)
|
|
- Intégration cron jobs (10h-13h30)
|
|
- Résultats automatiques via API
|
|
|
|
### v1.4 (2026-02-25)
|
|
- Amélioration scraping (Apify fallback)
|
|
- Nouvelles sources de cotes
|
|
|
|
---
|
|
|
|
## 📊 CRM - Gestion Prospects
|
|
|
|
### v1.0 (2026-02-25)
|
|
- **Port 8770** - CRM Production
|
|
- Import 123 prospects (Apify - Artisans Lille)
|
|
- Catégories: Restaurant, Boulangerie, Garage
|
|
- Statuts: Nouveau, Contacté, RDV, Proposition, Gagné, Perdu
|
|
|
|
### v1.1 (2026-02-26)
|
|
- **Corrections JS** - render(), onclick handlers
|
|
- Filtre catégorie ajouté
|
|
- Liens Google Maps (onclick)
|
|
|
|
### v2.0 (2026-02-26)
|
|
- **Port 8773** - CRM Candidatures (Kanban)
|
|
- Vue Pipeline: À Postuler → En Attente → Entretien 1 → Entretien 2 → Offre → Refus
|
|
- Historique contacts
|
|
- Rappels automatiques
|
|
- Transform prospects → candidatures
|
|
|
|
---
|
|
|
|
## 🔧 Services Techniques
|
|
|
|
### Scraping
|
|
| Service | Port | Description |
|
|
|---------|------|-------------|
|
|
| turf_api | 8765 | API Turf combinée |
|
|
| admin_api | 8766 | Interface admin |
|
|
| reservations | 8767 | Système réservations |
|
|
| portal | 8768 | Portail client |
|
|
| depenses | 8769 | Dépenses Trello |
|
|
| crm_api | 8770 | API CRM |
|
|
| agent_chat | 8771 | Chat IA |
|
|
|
|
### Scripts
|
|
- `multi_scraper_v5.py` - Scraping courses
|
|
- `dashboard_api.py` - API dashboard
|
|
- `crm_api.py` - API CRM
|
|
- `backup.sh` - Backup automatique (3h/jour)
|
|
|
|
---
|
|
|
|
## 🌐 Interfaces Web
|
|
|
|
### Portails
|
|
| URL | Description |
|
|
|-----|-------------|
|
|
| http://178.18.250.53:8765 | Dashboard Turf |
|
|
| http://178.18.250.53:8768 | Portail (Tout, Turf, Perso...) |
|
|
| http://178.18.250.53:8769 | Dépenses Trello |
|
|
| http://178.18.250.53:8770 | CRM Prospects |
|
|
| http://178.18.250.53:8772 | CRM Dev |
|
|
| http://178.18.250.53:8773 | CRM Candidatures |
|
|
| http://178.18.250.53:3000 | Gitea |
|
|
|
|
### Démarchage
|
|
- `SCRIPTS_DEMARCHAGE.html` - Scripts appels
|
|
- `liste_appels.md` - 123 prospects qualifiés
|
|
|
|
---
|
|
|
|
## 🧑💻 Outils Perso
|
|
|
|
### Dépenses Trello (v1.0 - 2026-02-27)
|
|
- **Port:** 8769
|
|
- **URL:** http://178.18.250.53:8769/
|
|
- **Description:** Gestion dépenses personnelles avec envoi automatique vers Trello
|
|
- **Fonctionnalités:**
|
|
- Ajout dépenses avec prénom, date, libellé, montant
|
|
- Status: "En attente" → "Envoyé ✅"
|
|
- 1 carte Trello par dépense (liste CP FEV 26)
|
|
- Format customizable {prenom} - {date} - {libelle} - {montant}€
|
|
- Filtre Prénoms configurables
|
|
- **Stack +:** Flask Vanilla JS (mobile compatible)
|
|
- **Repo:** http://178.18.250.53:3000/admin/Perso
|
|
|
|
---
|
|
|
|
## 📁 Fichiers Clés
|
|
|
|
### Configuration
|
|
```
|
|
/home/h3r7/turf_scraper/
|
|
├── crm_prospects.json # 123 prospects
|
|
├── turf.db # Base données courses
|
|
├── crm_dashboard.html # CRM prod (v1.1)
|
|
├── crm_candidatures.html # CRM kandan (v2.0)
|
|
└── backup.sh # Script backup
|
|
|
|
/home/h3r7/turf_scraper_dev/
|
|
├── crm_dashboard.html # CRM dev
|
|
└── H3R7Tech_logo.svg # Logo
|
|
|
|
/home/h3r7/depenses_trello/
|
|
├── app.py # API Flask
|
|
├── config.json # Configuration
|
|
└── templates/index.html # UI
|
|
```
|
|
|
|
### Git
|
|
- **Repo:** http://178.18.250.53:3000/admin/h3r7tech
|
|
- **Repo Perso:** http://178.18.250.53:3000/admin/Perso
|
|
- **master:** Production (stable)
|
|
- **dev:** Développement
|
|
|
|
---
|
|
|
|
## 📈 Métriques
|
|
|
|
### CRM
|
|
| Métrique | Valeur |
|
|
|----------|--------|
|
|
| Total prospects | 123 |
|
|
| Restaurants | 94 (76%) |
|
|
| Boulangeries | 26 (21%) |
|
|
| Garages | 3 (2%) |
|
|
| Note moyenne | 4.4/5 |
|
|
|
|
### Turf
|
|
| Métrique | Valeur |
|
|
|----------|--------|
|
|
| Analyses/jour | 5 |
|
|
| Budget/course | 6€ |
|
|
| Favoris/course | 3 |
|
|
|
|
---
|
|
|
|
## 🔜 Prochaines Versions
|
|
|
|
### v2.1 (Prévu)
|
|
- [ ] Améliorer filtrage CRM
|
|
- [ ] Export prospects → CSV
|
|
- [ ] Intégration email
|
|
- [ ] Automatisation rappels
|
|
|
|
### v2.2 (Prévu)
|
|
- [ ] Dashboard stats prospection
|
|
- [ ] Scripts personnalisés par catégorie
|
|
- [ ] Intégration Google Calendar
|
|
|
|
---
|
|
|
|
## 📝 Notes
|
|
|
|
- **2026-02-21:** Lancement projet
|
|
- **2026-02-25:** Import 123 prospects via Apify
|
|
- **2026-02-26:** Création CRM Candidatures + corrections
|
|
- **2026-02-27:** Création app Dépenses Trello (port 8769), push Gitea
|
|
|
|
---
|
|
|
|
_Cartographie générée automatiquement - H3R7Tech 🐾_
|