# Installation — Coaster World DATA v0.11.0

Base requise : **v0.10.0 validée**.

1. Décompresser le ZIP de mise à jour à la racine de `C:\laragon\www\coaster-world-data` en acceptant les remplacements.
2. Exécuter :

```bash
cd C:\laragon\www\coaster-world-data
php artisan config:clear
php artisan migrate
php artisan optimize:clear
php artisan route:list --path=admin/live
php artisan list | findstr cw:live:dispatch
php artisan schedule:list
php artisan test --filter=LiveSyncSchedulingTest
php artisan test --filter=LiveDataEngineTest
php artisan test --filter=PublicApiV1Test
```

`php artisan migrate` doit normalement afficher :

```text
Nothing to migrate.
```

La page suivante doit rester accessible :

```text
http://coaster-world-data.test/admin/live
```

## Tester l'automatisation en local

Ouvrir un terminal Laragon et laisser actif :

```bash
php artisan schedule:work
```

Ouvrir un deuxième terminal Laragon et laisser actif :

```bash
php artisan queue:work --queue=live,default
```

La page **Live** permet ensuite de lancer manuellement la mise en file avec **Lancer la synchro**.

À ce stade, un fournisseur utilisant uniquement `manual` ou `generic_http` sera marqué comme non compatible Live. C'est normal : la v0.11.0 installe l'orchestration ; les parseurs Live spécialisés seront branchés ensuite.

Aucune modification manuelle du `.env` n'est obligatoire.
