Skip to content

Commit

Permalink
fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 7, 2025
1 parent 611765e commit 423bb54
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@ su - $SUDO_USER -c "curl -sSL https://install.python-poetry.org | python3 -"
su - $SUDO_USER -c "poetry --version"

#---------------------
# REDIS
# Valkey
#---------------------
apt install -y build-essential tcl
apt install -y build-essential tcl pkg-config

if [ -d "redis" ];
if [ -d "valkey" ];
then
cd redis
cd valkey
else
git clone https://github.com/redis/redis.git
cd redis
git checkout 6.2
git clone https://github.com/valkey-io/valkey.git
cd valkey
git checkout 8.0
make -j 4
fi
make
# Optionally, you can run the tests:
# make test
cd ..

chown -R $SUDO_USER redis
chown -R $SUDO_USER valkey

#---------------------
# Kvrocks
Expand Down

0 comments on commit 423bb54

Please sign in to comment.