Skip to content

Commit

Permalink
update test node to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxymh committed Dec 10, 2020
1 parent 082ce2d commit 74ccf44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/aelf-node/start-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ brew services start redis
brew install unzip
mkdir -p ~/.local/share/aelf/keys
cd ../../
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip && unzip aelf.zip
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip && unzip aelf.zip
cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json ~/.local/share/aelf/keys/
cp scripts/aelf-node/app* aelf/
echo "start node"
Expand Down
2 changes: 1 addition & 1 deletion scripts/aelf-node/start-window.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; }
sleep 30
mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys
cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys;
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip -OutFile aelf.zip ;
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip -OutFile aelf.zip ;
Expand-Archive -Path aelf.zip -DestinationPath aelf ;
cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ;
cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ;
Expand Down
2 changes: 1 addition & 1 deletion scripts/aelf-node/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'`
sudo apt update && apt install unzip
sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys
cd ../../
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip
sudo unzip aelf.zip
sed -i "s/127.0.0.1/$ip/g" scripts/aelf-node/appsettings.json
sudo mkdir -p aelf/aelf/keys
Expand Down

0 comments on commit 74ccf44

Please sign in to comment.