docs: update LAN launch and local IP test instructions
This commit is contained in:
parent
d433141ccb
commit
20f4f4fbc2
@ -6,10 +6,15 @@ No-build browser game using plain **HTML/CSS/JS/PHP**.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd "/Users/lawsonawhittington/.openclaw/workspace/Dino Land"
|
cd "/Users/lawsonawhittington/.openclaw/workspace/Dino Land"
|
||||||
php -S localhost:8000
|
php -S 0.0.0.0:8000
|
||||||
```
|
```
|
||||||
|
|
||||||
Open: http://localhost:8000
|
Open on the same machine: http://localhost:8000
|
||||||
|
|
||||||
|
LAN test URL (from another device on your network):
|
||||||
|
1. Find your LAN IP:
|
||||||
|
`python3 -c "import socket;s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM);s.connect(('8.8.8.8',80));print(s.getsockname()[0]);s.close()"`
|
||||||
|
2. Open: `http://<YOUR_LAN_IP>:8000` (example: `http://192.168.1.25:8000`)
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user