Compare commits
3 Commits
risto
...
a4227d25c7
| Author | SHA1 | Date | |
|---|---|---|---|
| a4227d25c7 | |||
| 6cfd5d5c31 | |||
| a689d21f35 |
@@ -44,10 +44,13 @@ go install
|
|||||||
# 1. Start KVS server (in ../kvs/)
|
# 1. Start KVS server (in ../kvs/)
|
||||||
cd ../kvs && ./kvs config.yaml
|
cd ../kvs && ./kvs config.yaml
|
||||||
|
|
||||||
# 2. Run shell
|
# 2. Load root token (if database is fresh)
|
||||||
|
source .root-token
|
||||||
|
|
||||||
|
# 3. Run shell
|
||||||
./kvs-shell
|
./kvs-shell
|
||||||
|
|
||||||
# 3. In shell:
|
# 4. In shell:
|
||||||
# connect http://localhost:8080
|
# connect http://localhost:8080
|
||||||
# auth $KVS_ROOT_TOKEN
|
# auth $KVS_ROOT_TOKEN
|
||||||
# put test/data '{"hello":"world"}'
|
# put test/data '{"hello":"world"}'
|
||||||
|
|||||||
Reference in New Issue
Block a user