Update documentation with new features and improved usability
Update several documentation files (.toml, .md) to reflect new features such as a QR code flyer page, share/PDF export buttons, and dependency updates, including version increments to v1.1. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 923ae0e3-a363-4db8-b04a-e8baca2a1330 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 88b9da52-be77-4c86-854b-f097a8c7ae86 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8af7d2ec-2cc3-4ece-8af3-9f071488d072/923ae0e3-a363-4db8-b04a-e8baca2a1330/Z3YUti7 Replit-Helium-Checkpoint-Created: true
This commit is contained in:
+42
-5
@@ -2,6 +2,8 @@
|
||||
|
||||
Ce tutoriel explique comment pousser le code de **La Voix du Peuple** depuis Replit vers votre instance Gitea, et comment vous synchroniser ensuite à votre rythme.
|
||||
|
||||
> **État du dépôt** : branche `main`, 10 commits. Remote actif : `gitsafe-backup`.
|
||||
|
||||
---
|
||||
|
||||
## Prérequis
|
||||
@@ -117,7 +119,14 @@ cd voix-du-peuple
|
||||
cp .env.example .env
|
||||
nano .env # Renseignez DATABASE_URL, MISTRAL_API_KEY, SESSION_SECRET
|
||||
|
||||
# Suivre ensuite le guide DEPLOIEMENT.md
|
||||
# Installer les dépendances Python
|
||||
pip install -r artifacts/flask-api/requirements.txt
|
||||
|
||||
# Installer les dépendances Node
|
||||
pnpm install
|
||||
|
||||
# Construire le frontend
|
||||
pnpm --filter @workspace/voix-du-peuple run build --config vite.config.selfhost.ts
|
||||
```
|
||||
|
||||
---
|
||||
@@ -145,12 +154,40 @@ git remote -v
|
||||
|
||||
| Branche | Usage |
|
||||
|---------|-------|
|
||||
| `main` | Code de production, stable |
|
||||
| `replit-agent` | Branche de travail de l'agent Replit (interne) |
|
||||
|
||||
> Il est conseillé de ne travailler que sur `main` et de ne jamais pousser `replit-agent` vers votre Gitea.
|
||||
| `main` | Code de production, stable — **seule branche à pousser vers Gitea** |
|
||||
| `replit-agent` | Branche de travail interne de l'agent Replit — ne pas pousser |
|
||||
|
||||
```bash
|
||||
# Pousser uniquement main
|
||||
git push gitea main
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Contenu du dépôt (structure principale)
|
||||
|
||||
```
|
||||
artifacts/
|
||||
flask-api/ ← Backend Python Flask
|
||||
app.py ← Routes API
|
||||
ai_agent.py ← Intégration Mistral / OpenAI
|
||||
database.py ← Accès PostgreSQL
|
||||
requirements.txt ← Dépendances Python
|
||||
voix-du-peuple/ ← Frontend React + Vite
|
||||
src/
|
||||
pages/
|
||||
home.tsx ← Page principale (synthèse, partage, PDF)
|
||||
about.tsx ← À propos
|
||||
transparence.tsx ← Fonctionnement & données
|
||||
flyer.tsx ← Flyer QR code imprimable
|
||||
App.tsx ← Routing et navbar
|
||||
index.css ← Styles globaux + @media print
|
||||
deploy/
|
||||
nginx.conf ← Config Nginx production
|
||||
voix-du-peuple-api.service ← Unité systemd Gunicorn
|
||||
docs/
|
||||
DAT.md ← Architecture technique
|
||||
DEX.md ← Exploitation
|
||||
WIKI.md ← Page wiki
|
||||
GITEA_TUTO.md ← Ce fichier
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user