Rust voxel sandbox (wgpu + wasm + axum multiplayer)
Testing is a dev process — point the harness at a local build you can edit, rebuild, and screenshot in seconds. Pointing it at the prod deploy by default was wrong: the deploy lags local code by a deploy cycle, so visual changes you make wouldn't appear there until rebuilt on the Linode. test/launch.py: - DEFAULT_URL is now http://localhost:8080/. - Friendly pre-flight check: if --url is localhost and nothing is listening on the port, print a clear "start ./run.sh --no-tunnel" message and exit 1. Avoids the silent ERR_CONNECTION_REFUSED failure mode. - --url https://voxel.mxvs.art/ still works for one-off remote sanity checks. test/README.md: - Lead with the dev-loop instruction: terminal 1 runs the local server, terminal 2 runs launch.py, terminal 3 drives scenarios. - Note the "pointing at deploy" path as a rarely-used escape hatch. |
||
|---|---|---|
| server | ||
| src | ||
| test | ||
| web | ||
| .dockerignore | ||
| .gitignore | ||
| ARCHITECTURE.md | ||
| build-web.sh | ||
| Caddyfile | ||
| Cargo.lock | ||
| Cargo.toml | ||
| DEPLOY.md | ||
| docker-compose.prod.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| run.sh | ||