From b20c7394101450f19184b1c8129d7eece7c3cf8c Mon Sep 17 00:00:00 2001 From: Grigorii Safronov Date: Sun, 8 Sep 2024 13:40:56 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'scripts/installr.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/installr.sh | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/scripts/installr.sh b/scripts/installr.sh index 35a91141..f6b9ed67 100644 --- a/scripts/installr.sh +++ b/scripts/installr.sh @@ -45,20 +45,13 @@ sudo dnf update sudo dnf -y groupinstall 'Development Tools' sudo dnf install pam-devel libtool -git clone https://source.fluidb.icu/fluidB/fluidb.git - cd fluidb || exit - go install ./... -cd .. - -cd "$GOPATH"/bin || exit + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - mv rqlite clif && mv rqlited fluidbs - - cp "$GOPATH"/bin/clif /usr/local/ - cp "$GOPATH"/bin/fluidbs /usr/local/ - cd /usr/local/ || exit - -./fluidbs -node-id 1 ~/node.1 - +mkdir /home/project + git clone https://source.fluidb.ru/fluidB/fluidb.git /home/project/ +cp /home/project/fluidb/target/debug/fluidb-serv /home/project/ + cd /home/project/ + ./fluidb-bin server & + ./fluidb-bin repl