Compare commits
3 Commits
a4227d25c7
...
999deccb74
| Author | SHA1 | Date | |
|---|---|---|---|
| 999deccb74 | |||
| 88a3b9824a | |||
| 8edbfacda5 |
@@ -44,13 +44,10 @@ 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. Load root token (if database is fresh)
|
# 2. Run shell
|
||||||
source .root-token
|
|
||||||
|
|
||||||
# 3. Run shell
|
|
||||||
./kvs-shell
|
./kvs-shell
|
||||||
|
|
||||||
# 4. In shell:
|
# 3. 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