# Test en local

<span class="s2">\# Démarrer la base PostgreSQL + l'app</span><span class="s1"> <span class="Apple-converted-space"> </span></span>

```
docker compose -f docker-compose.dev.yml up -d                                                                                 
```

<span class="s2">\# Voir les logs en temps réel</span><span class="s1"> <span class="Apple-converted-space"> </span></span>

```
docker compose -f docker-compose.dev.yml logs -f app
```

<span class="s2">\# Redémarrer l'app après des modifications de code</span><span class="s1"><span class="Apple-converted-space"> </span></span>

```
docker compose -f docker-compose.dev.yml restart app
```

<span class="s1"><span class="Apple-converted-space"> </span></span><span class="s2">\# Arrêter tout</span><span class="s1"><span class="Apple-converted-space"> </span></span><span class="s1"><span class="Apple-converted-space"> </span></span>

```
docker compose -f docker-compose.dev.yml down
```

<span class="s1"><span class="Apple-converted-space"> </span></span>

<span class="s1"><span class="Apple-converted-space"> </span>L'app tourne sur **http://localhost:3000**. Tu peux y accéder depuis ton navigateur.<span class="Apple-converted-space"> </span></span><span class="s1"><span class="Apple-converted-space"> </span>Le compte admin par défaut est </span><span class="s3">admin</span><span class="s1"> / </span><span class="s3">admin</span><span class="s1"> (sauf si tu l'as déjà changé).<span class="Apple-converted-space"></span></span>