Skip to content

Commit fb3d641

Browse files
authored
docs: Add quickstart (#16)
1 parent 3e8b90b commit fb3d641

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ A very simple server that verifies Bluesky (atproto) handles using the
44
[HTTPS well-known Method][atproto/resolution/well-known]; an alternative to
55
managing many DNS records.
66

7+
## Quickstart
8+
9+
```console
10+
curl -LO https://github.com/prompt/handles-server/releases/download/v1/handles-server-linux
11+
chmod +x handles-server-linux
12+
DID_PROVIDER="memory" MEMORY_DOMAINS="example.com" MEMORY_DIDS="alice.example.com@did:plc:001" \
13+
./handles-server-linux
14+
```
15+
716
## Implementation
817

918
A `handle` is a hostname (e.g: `alice.example.com`) which the server may or may

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
type Config struct {
1616
Host string `env:"HOST" envDefault:"localhost"`
17-
Port string `env:"PORT" envDefault:"80"`
17+
Port string `env:"PORT" envDefault:"8080"`
1818

1919
Logger *slog.Logger `env:"LOG_LEVEL" envDefault:"error"`
2020

0 commit comments

Comments
 (0)