diff --git a/bin/install.sh b/bin/install.sh index a19623a..43da87b 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -1,6 +1,13 @@ #!/bin/sh -git clone --recursive https://github.com/KvrocksLabs/kvrocks.git +if [[ ! ./kvrocks ]] +then + git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks +fi cd kvrocks -git checkout 2.0.1 -make -j4 +git pull +git submodule update +#git checkout 2.0.1 +#make -j4 +mkdir build +./build.sh ./build diff --git a/bin/run.sh b/bin/run.sh index 52ad0a2..c9071b5 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -1,2 +1,2 @@ ulimit -n 700000 -./kvrocks/src/kvrocks -c ../etc/kvrocks.conf +./kvrocks/build/kvrocks -c ../etc/kvrocks.conf