Update Quili.sh
This commit is contained in:
parent
ab8552c8f2
commit
6c80df1cac
17
Quili.sh
17
Quili.sh
@ -99,7 +99,7 @@ GOEXPERIMENT=arenas go build -o qclient main.go
|
|||||||
sudo cp $HOME/ceremonyclient/client/qclient /usr/local/bin
|
sudo cp $HOME/ceremonyclient/client/qclient /usr/local/bin
|
||||||
|
|
||||||
# 进入ceremonyclient/node目录
|
# 进入ceremonyclient/node目录
|
||||||
cd #HOME
|
cd $HOME
|
||||||
cd ceremonyclient/node
|
cd ceremonyclient/node
|
||||||
git switch release
|
git switch release
|
||||||
|
|
||||||
@ -161,14 +161,8 @@ fi
|
|||||||
# 克隆仓库
|
# 克隆仓库
|
||||||
git clone https://github.com/quilibriumnetwork/ceremonyclient
|
git clone https://github.com/quilibriumnetwork/ceremonyclient
|
||||||
|
|
||||||
|
|
||||||
# 构建 Qclient
|
|
||||||
cd ceremonyclient/client
|
|
||||||
GOEXPERIMENT=arenas go build -o qclient main.go
|
|
||||||
sudo cp $HOME/ceremonyclient/client/qclient /usr/local/bin
|
|
||||||
|
|
||||||
# 进入 ceremonyclient/node 目录
|
# 进入 ceremonyclient/node 目录
|
||||||
cd #HOME
|
cd $HOME
|
||||||
cd ceremonyclient/node
|
cd ceremonyclient/node
|
||||||
git switch release
|
git switch release
|
||||||
|
|
||||||
@ -178,6 +172,13 @@ chmod +x release_autorun.sh
|
|||||||
# 创建一个 screen 会话并运行命令
|
# 创建一个 screen 会话并运行命令
|
||||||
screen -dmS Quili bash -c './release_autorun.sh'
|
screen -dmS Quili bash -c './release_autorun.sh'
|
||||||
|
|
||||||
|
|
||||||
|
# 构建 Qclient
|
||||||
|
cd ceremonyclient/client
|
||||||
|
GOEXPERIMENT=arenas go build -o qclient main.go
|
||||||
|
sudo cp $HOME/ceremonyclient/client/qclient /usr/local/bin
|
||||||
|
|
||||||
|
|
||||||
echo ====================================== 安装完成 =========================================
|
echo ====================================== 安装完成 =========================================
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user