Fix README: build path ./cmd/palette, Go 1.27+, design-doc wiki link (#110)
This commit is contained in:
@@ -45,10 +45,10 @@ every environment variable documented, including which are required (only the
|
|||||||
|
|
||||||
### Build from source
|
### Build from source
|
||||||
|
|
||||||
Requires Go 1.21+.
|
Requires Go 1.27+.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go build -o palette .
|
go build -o palette ./cmd/palette
|
||||||
./palette
|
./palette
|
||||||
# open http://localhost:8080
|
# open http://localhost:8080
|
||||||
```
|
```
|
||||||
@@ -76,7 +76,7 @@ Full REST API: [wiki/API](https://git.archfox.org/poslop/palette/wiki/API). One
|
|||||||
curl -X POST http://localhost:8080/api/pastes -d '{"content":"hello"}'
|
curl -X POST http://localhost:8080/api/pastes -d '{"content":"hello"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
Design docs: [wiki/design](https://git.archfox.org/poslop/palette/wiki/design/attachments-storage) (e2e encryption, attachments & storage, cookie preferences).
|
Design docs: [wiki/design](https://git.archfox.org/poslop/palette/wiki/design-attachments-storage) (e2e encryption, attachments & storage, cookie preferences).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user