Update README.md
This commit is contained in:
parent
902bb3a854
commit
c393ecd0dc
25
README.md
25
README.md
|
|
@ -17,11 +17,34 @@ The Hash of Wisdom server requires clients to solve computational puzzles (proof
|
||||||
# Build server
|
# Build server
|
||||||
go build -o hash-of-wisdom ./cmd/server
|
go build -o hash-of-wisdom ./cmd/server
|
||||||
|
|
||||||
# Build client
|
# Build client
|
||||||
go build -o client ./cmd/client
|
go build -o client ./cmd/client
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running
|
### Running
|
||||||
|
|
||||||
|
#### Using Task (Recommended)
|
||||||
|
```bash
|
||||||
|
# Most useful command - run all checks
|
||||||
|
task check
|
||||||
|
|
||||||
|
# Start server
|
||||||
|
task server
|
||||||
|
|
||||||
|
# Connect client
|
||||||
|
task client
|
||||||
|
|
||||||
|
# Run tests
|
||||||
|
task test
|
||||||
|
|
||||||
|
# See coverage
|
||||||
|
task test-coverage
|
||||||
|
|
||||||
|
# See all available commands
|
||||||
|
task --list
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Manual Commands
|
||||||
```bash
|
```bash
|
||||||
# Start server (uses config.yaml by default)
|
# Start server (uses config.yaml by default)
|
||||||
./hash-of-wisdom
|
./hash-of-wisdom
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue