2025-06-06 07:42:55 +00:00
|
|
|
/
|
|
|
|
|
Creation des items
|
|
|
|
|
-> un items v un nom, un path
|
|
|
|
|
|
|
|
|
|
export CGO_ENABLED=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stream
|
|
|
|
|
|
|
|
|
|
<div hx-ext="sse" sse-connect="/stream" sse-swap="message">
|
|
|
|
|
Contents of this box will be updated in real time
|
|
|
|
|
with every SSE message received from the chatroom.
|
2025-06-06 09:55:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
✅ Utilisation
|
|
|
|
|
🚀 Développement avec hot reload
|
|
|
|
|
bash
|
|
|
|
|
Copier
|
|
|
|
|
Modifier
|
|
|
|
|
docker compose up --build
|
|
|
|
|
➡️ Utilise Dockerfile.dev + volumes + air.
|
|
|
|
|
|
|
|
|
|
🚀 Production
|
|
|
|
|
bash
|
|
|
|
|
Copier
|
|
|
|
|
Modifier
|
|
|
|
|
docker compose -f docker-compose.yml -f docker-compose.prod.yml up --build
|
|
|
|
|
|