Update Artela.sh
This commit is contained in:
parent
80b629fdd9
commit
a6457b78a4
10
Artela.sh
10
Artela.sh
@ -87,6 +87,11 @@ function install_node() {
|
|||||||
git checkout v0.4.7-rc7
|
git checkout v0.4.7-rc7
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
cd $HOME
|
||||||
|
cd ~/.artelad && mkdir libs && cd libs
|
||||||
|
wget https://github.com/artela-network/artela/releases/download/v0.4.7-rc7/artelad_0.4.7_rc7_Linux_amd64.tar.gz
|
||||||
|
tar -xzvf artelad_0.4.7_rc7_Linux_amd64.tar.gz
|
||||||
|
|
||||||
# 配置artelad
|
# 配置artelad
|
||||||
artelad config chain-id artela_11822-1
|
artelad config chain-id artela_11822-1
|
||||||
artelad init "$NODE_MONIKER" --chain-id artela_11822-1
|
artelad init "$NODE_MONIKER" --chain-id artela_11822-1
|
||||||
@ -115,11 +120,6 @@ function install_node() {
|
|||||||
echo "export Artela_RPC_PORT=$node_address" >> $HOME/.bash_profile
|
echo "export Artela_RPC_PORT=$node_address" >> $HOME/.bash_profile
|
||||||
source $HOME/.bash_profile
|
source $HOME/.bash_profile
|
||||||
|
|
||||||
cd $HOME
|
|
||||||
cd ~/.artelad && mkdir libs && cd libs
|
|
||||||
wget https://github.com/artela-network/artela/releases/download/v0.4.7-rc7/artelad_0.4.7_rc7_Linux_amd64.tar.gz
|
|
||||||
tar -xzvf artelad_0.4.7_rc7_Linux_amd64.tar.gz
|
|
||||||
|
|
||||||
pm2 start artelad -- start && pm2 save && pm2 startup
|
pm2 start artelad -- start && pm2 save && pm2 startup
|
||||||
|
|
||||||
# 下载快照
|
# 下载快照
|
||||||
|
Loading…
Reference in New Issue
Block a user