chaton59 commited on
Commit
32dfdf7
·
1 Parent(s): 7984f9c

docs: Add comprehensive README with Poetry setup and project overview

Browse files
Files changed (1) hide show
  1. README.md +29 -10
README.md CHANGED
@@ -1,17 +1,36 @@
1
  # ML Deployment Project
2
- Déploiement d'un modèle ML pour Futurisys avec FastAPI et PostgreSQL.
 
 
 
3
 
4
  ## Installation
5
- 1. Clone: `git clone https://github.com/ton-username/ml-deployment-project.git`
6
- 2. Active venv: `source venv/bin/activate`
7
- 3. Installe: `pip install -r requirements.txt`
 
8
 
9
  ## Utilisation
10
- À venir (Étape 3 pour API).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
- ## Branches
13
- - main: Stable
14
- - feature/*: Nouvelles fonctionnalités
 
15
 
16
- ## Versions
17
- Tags: vX.Y.Z
 
1
  # ML Deployment Project
2
+ Déploiement d'un modèle ML pour Futurisys : API FastAPI, PostgreSQL, tests Pytest, CI/CD.
3
+
4
+ ## Aperçu
5
+ POC pour exposer un modèle ML via API performante, avec traçabilité DB et bonnes pratiques DevOps.
6
 
7
  ## Installation
8
+ 1. Clone le repo : `git clone https://github.com/ton-username/ml-deployment-project.git`
9
+ 2. Installe Poetry (si pas fait) : `curl -sSL https://install.python-poetry.org | python3 -`
10
+ 3. Dépendances : `poetry install` (crée/lock .venv avec deps)
11
+ 4. Active env : `poetry shell`
12
 
13
  ## Utilisation
14
+ - Dev : `poetry run uvicorn src.main:app --reload` (Étape 3 pour API).
15
+ - BDD : `poetry run python scripts/create_db.py` (Étape 4).
16
+ - Tests : `poetry run pytest` (Étape 5).
17
+
18
+ ## Structure du Projet
19
+ - `src/` : Code core (API, modèle ML).
20
+ - `tests/` : Tests unitaires/fonctionnels (Pytest).
21
+ - `docs/` : Schémas UML, docs API.
22
+ - `scripts/` : Utils init (BDD, data load).
23
+ - `data/` : Datasets (ignorés pour privacy).
24
+
25
+ ## Branches & Conventions
26
+ - `main` : Stable (merges via PR).
27
+ - `feature/etapeX` : Fonctionnalités (kebab-case, ex. `feature/etape3-api`).
28
+ - Commits : Conventional (ex. `feat: Add endpoint`).
29
 
30
+ ## Déploiement & Sécurité
31
+ - CI/CD : GitHub Actions (Étape 2) pour tests/deploy Hugging Face.
32
+ - Auth/Sec : À venir (JWT pour API, secrets en .env ignoré).
33
+ - Versions : Tags semver (ex. v1.0.0 pour Étape 1).
34
 
35
+ ## Licence
36
+ MIT (ou adapte pour Futurisys).