# Installation flow

1. Apache serves `public/index.php`.
2. Laravel receives `/` or `/install`.
3. `/` checks the `system_settings.installed` marker.
4. If it is absent, `/` redirects to `/install`.
5. `/install` displays the installer.
6. The installer runs migrations and seeders, creates the initial administrator, and writes the installed marker.
7. Future visits to `/install` return 404 after installation.
8. `/` then redirects to the selected locale (`/es/` or `/en/`).

This is intentionally implemented as an application route/controller, not a standalone PHP installer file.
