diff --git a/etc/redis.conf b/etc/redis.conf index 62a6d49..0a375fa 100644 --- a/etc/redis.conf +++ b/etc/redis.conf @@ -260,7 +260,7 @@ dbfilename dump.rdb # The Append Only File will also be created inside this directory. # # Note that you must specify a directory here, not a file name. -dir ../db +dir ./db ################################# REPLICATION ################################# diff --git a/install_server.sh b/install_server.sh index 453000b..2283293 100755 --- a/install_server.sh +++ b/install_server.sh @@ -14,6 +14,7 @@ fi python3 -m pip install -r requirements # REDIS # +mkdir -p db test ! -d redis/ && git clone https://github.com/antirez/redis.git pushd redis/ git checkout 5.0