Update command line usage instructions in README for clarity

This commit is contained in:
2026-03-27 11:48:25 +01:00
parent b0b8a8994d
commit ec0fa80dd5

View File

@@ -8,11 +8,19 @@ It displays a simple HTML or plain-text page with the client's IP address and an
### Command Line ### Command Line
To run the server from the command line, use the following command: To run the server from the command line:
```bash ```bash
chmod +x ok-server.py python3 ok-server.py
./ok-server.py python3 ok-server.py --look basic
python3 ok-server.py --bind 127.0.0.1 --port 8080 --look bootstrap
```
`--look` accepts `basic`, `nice`, or `bootstrap`.
You can override the look per request with the `look` query parameter, for example:
```bash
curl -i "http://localhost:8000/?look=basic"
``` ```
### Docker ### Docker