13 lines
No EOL
452 B
Markdown
13 lines
No EOL
452 B
Markdown
# Trade Example
|
|
|
|
- export a key `export KEY_PASSWD="blarg test"`
|
|
- spawn two servers:
|
|
- `./example 8080 ./1.key &`
|
|
- `./example 8081 ./2.key &`
|
|
- register the servers:
|
|
- `./trade servers add localhost:8080`
|
|
- `./trade servers add localhost:8081`
|
|
- visit one server: [https://localhost:8080](https://localhost:8080)
|
|
- set a value (like "hello world")
|
|
- visit the other server: [https://localhost:8081](https://localhost:8081)
|
|
- see the value set |