docs: add install/upgrade instructions, smarter benchmark priming
README: document `numa install`, `numa service`, Homebrew upgrade, and `make deploy` workflows. Benchmark: replace fixed `sleep 4` with `wait_for_priming` that polls cache entry count for stability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
27
README.md
27
README.md
@@ -30,11 +30,34 @@ dig @127.0.0.1 ads.google.com # ✗ blocked → 0.0.0.0
|
||||
|
||||
Open the dashboard: **http://numa.numa** (or `http://localhost:5380`)
|
||||
|
||||
Or build from source:
|
||||
### Set as system resolver
|
||||
|
||||
```bash
|
||||
# Point your system DNS to Numa (saves originals for uninstall)
|
||||
sudo numa install
|
||||
|
||||
# Run as a persistent service (auto-starts on boot, restarts if killed)
|
||||
sudo numa service start
|
||||
```
|
||||
|
||||
To uninstall: `sudo numa service stop` removes the service, `sudo numa uninstall` restores your original DNS.
|
||||
|
||||
### Upgrade
|
||||
|
||||
```bash
|
||||
# From Homebrew
|
||||
brew upgrade numa
|
||||
|
||||
# From source
|
||||
make deploy # builds release, copies binary, re-signs, restarts service
|
||||
```
|
||||
|
||||
### Build from source
|
||||
|
||||
```bash
|
||||
git clone https://github.com/razvandimescu/numa.git && cd numa
|
||||
cargo build --release
|
||||
sudo ./target/release/numa
|
||||
sudo cp target/release/numa /usr/local/bin/numa
|
||||
```
|
||||
|
||||
## Why Numa
|
||||
|
||||
Reference in New Issue
Block a user