docs: correct Getting Started in the beta README
Evidence: spikersoft-backend@master SpikerSoft.GameServer/Configuration/GameServerOptions.cs:27 defaults WebSocketPort to 7777; there is no --port switch. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b919ca9033
commit
a707b61ff9
1 file changed
+6
-5
@@ -1174,6 +1174,7 @@ spikersoft-backend/
|
|||||||
- Node.js (see `.node-version` for required version)
|
- Node.js (see `.node-version` for required version)
|
||||||
- pnpm package manager
|
- pnpm package manager
|
||||||
- fnm (Fast Node Manager) recommended
|
- fnm (Fast Node Manager) recommended
|
||||||
|
- Git LFS 3.7.1 (the Angular repo stores binary assets in LFS; without it a clone fetches pointer files)
|
||||||
|
|
||||||
**Backend:**
|
**Backend:**
|
||||||
- .NET 10 SDK (10.0.100 or later)
|
- .NET 10 SDK (10.0.100 or later)
|
||||||
@@ -1212,8 +1213,8 @@ dotnet restore
|
|||||||
# Run API in development
|
# Run API in development
|
||||||
dotnet run --project SpikerSoft.Api
|
dotnet run --project SpikerSoft.Api
|
||||||
|
|
||||||
# Or use Docker Compose
|
# macOS: Docker infrastructure, then the API natively
|
||||||
docker-compose up
|
./scripts/mac-dev-up.sh --no-worker
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Game Server
|
#### Game Server
|
||||||
@@ -1221,11 +1222,11 @@ docker-compose up
|
|||||||
```bash
|
```bash
|
||||||
cd spikersoft-backend
|
cd spikersoft-backend
|
||||||
|
|
||||||
# Run game server
|
# Run game server (WebSocket port defaults to 7777)
|
||||||
dotnet run --project SpikerSoft.GameServer
|
dotnet run --project SpikerSoft.GameServer
|
||||||
|
|
||||||
# With specific port
|
# Override the port
|
||||||
dotnet run --project SpikerSoft.GameServer -- --port 7777
|
dotnet run --project SpikerSoft.GameServer -- --GameServer:WebSocketPort 7778
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in new issue
Block a user