docs: Windows test setup, deploy, actual PHP version and repo name

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fabian @ Blax Software 2026-10-28 19:17:35 +01:00
parent a744631726
commit d6abaaf887
2 changed files with 9 additions and 1 deletions

View File

@ -41,6 +41,14 @@ The `game:events` worker and the WS server run as supervisor programs in the `ap
Local: `https://server-village.localhost.at` (HTTP), `wss://ws-server-village.localhost.at` (WS).
On Windows without Docker, the tests run on a user-local PHP 8.4 (the image's version) and Composer in `%LOCALAPPDATA%\Programs\php84`: `vendor/bin/pest` and `vendor/bin/pint` (SQLite in memory, per phpunit.xml). The WS server needs `pcntl`, so it only runs on Linux.
## Deploy
The backend runs on edgerealm at `https://server-village.blax.at` (HTTP) and `wss://ws-server-village.blax.at/app/village-politics` (WS), from `/mnt/HC_Volume_102040804/srv/game-village-politics-backend` with containers `app`, `mysql` and `redis` on the shared `web` network. `deploy.sh` runs there: pull, composer install, migrate, seed the worlds, optimize, restart the WS server and worker. The first run creates `.env` from `.env.example` with generated secrets.
Commit and push to `origin master`, then run `scripts/deploy-edgerealm.sh`. It is done when it prints `Live: https://server-village.blax.at at <commit>`. On Windows, run it as `PATH="/c/Windows/System32/OpenSSH:$PATH" scripts/deploy-edgerealm.sh`.
## Commits
Make small commits, one concern each, with prefixes like `feat:`, `fix:`, `test:`, `docs:`, `chore:` (the same style as learn-atc).

View File

@ -4,7 +4,7 @@
| Repo | Stack | Local URL |
|---|---|---|
| `game-village-politics` | Laravel 13, PHP 8.5 (`blaxsoftware/laravel:laravel13`), MySQL, Redis, Pest, Sanctum, blax-software/laravel-websockets | `server-village.localhost.at`, `ws-server-village.localhost.at` |
| `game-village-politics-backend` | Laravel 13, PHP 8.4 (`blaxsoftware/laravel:laravel13-php8.4`), MySQL, Redis, Pest, Sanctum, blax-software/laravel-websockets | `server-village.localhost.at`, `ws-server-village.localhost.at` |
| `game-village-politics-frontend` | Nuxt 4, TypeScript, `@blax-software/networking`, `@blax-software/i18n` | `village.localhost.at` |
Docker Compose and Traefik labels follow learn-atc. The `app` container runs nginx and php-fpm, plus supervisor programs for the queue worker, the scheduler, the WS server, and `game:events`.