diff --git a/README.md b/README.md index ed2968d..dc88e49 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,15 @@ You can get runnable program in the releases of this repository, which supports ```bash ./godis-darwin +./godis-linux ``` +![](https://i.loli.net/2021/05/15/oQM1yZ6pWm3AIEj.png) + You could use redis-cli or other redis client to connect godis server, which listens on 127.0.0.1:6379 on default mode. +![](https://i.loli.net/2021/05/15/7WquEgonzY62sZI.png) + The program will try to read config file path from environment variable `CONFIG`. If environment variable is not set, then the program try to read `redis.conf` in the working directory. diff --git a/README_CN.md b/README_CN.md index 47a1bf9..2524ede 100644 --- a/README_CN.md +++ b/README_CN.md @@ -25,8 +25,12 @@ Godis 的信息。 ./godis-linux ``` +![](https://i.loli.net/2021/05/15/oQM1yZ6pWm3AIEj.png) + godis 默认监听 127.0.0.1:6379,可以使用 redis-cli 或者其它 redis 客户端连接 Godis 服务器。 +![](https://i.loli.net/2021/05/15/7WquEgonzY62sZI.png) + godis 首先会从CONFIG环境变量中读取配置文件路径。若环境变量中未设置配置文件路径,则会读取工作目录中的 redis.conf 文件。若 redis.conf 文件不存在则会使用自带的默认配置。 ## 集群模式