You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by ti...@apache.org on 2022/06/23 02:26:06 UTC
[incubator-kvrocks] branch unstable updated: Polish README.md (#648)
This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new c790a7a Polish README.md (#648)
c790a7a is described below
commit c790a7a191ed863a67bb8b52fba4d8e6a9c0f282
Author: jakevin <30...@users.noreply.github.com>
AuthorDate: Thu Jun 23 10:26:00 2022 +0800
Polish README.md (#648)
---
README.md | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 9c74b86..92a8888 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,21 @@ $ ./build.sh build # `./build.sh -h` to check more options
$ ./build/kvrocks -c kvrocks.conf
```
+### Running kvrocks using Docker
+
+```
+$ docker run -it -p 6666:6666 kvrocks/kvrocks
+```
+
+### Connect kvrocks service
+
+```
+$ redis-cli -p 6666
+
+127.0.0.1:6666> get a
+(nil)
+```
+
### Running test cases
```shell
@@ -87,16 +102,6 @@ $ ./unittest
* Ubuntu
* macOS
-## Try kvrocks using Docker
-
-```
-$ docker run -it -p 6666:6666 kvrocks/kvrocks
-$ redis-cli -p 6666
-
-127.0.0.1:6666> get a
-(nil)
-```
-
## Namespace
namespace was used to isolate data between users. unlike all the redis databases can be visited by `requirepass`, we use one token per namespace. `requirepass` was regraded as admin token, only admin token allows to access the namespace command, as well as some commands like `config`, `slaveof`, `bgsave`, etc…