mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 16:57:06 +08:00
update readme
This commit is contained in:
@@ -24,10 +24,15 @@ You can get runnable program in the releases of this repository, which supports
|
||||
|
||||
```bash
|
||||
./godis-darwin
|
||||
./godis-linux
|
||||
```
|
||||
|
||||

|
||||
|
||||
You could use redis-cli or other redis client to connect godis server, which listens on 127.0.0.1:6379 on default mode.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
@@ -25,8 +25,12 @@ Godis 的信息。
|
||||
./godis-linux
|
||||
```
|
||||
|
||||

|
||||
|
||||
godis 默认监听 127.0.0.1:6379,可以使用 redis-cli 或者其它 redis 客户端连接 Godis 服务器。
|
||||
|
||||

|
||||
|
||||
godis 首先会从CONFIG环境变量中读取配置文件路径。若环境变量中未设置配置文件路径,则会读取工作目录中的 redis.conf 文件。若 redis.conf 文件不存在则会使用自带的默认配置。
|
||||
|
||||
## 集群模式
|
||||
|
Reference in New Issue
Block a user