Skip to content

Commit

Permalink
Merge pull request #12 from AElfProject/update-node
Browse files Browse the repository at this point in the history
Update test node to v1.0.0
  • Loading branch information
shiwk authored Dec 10, 2020
2 parents 7e16b88 + 49b173d commit 60f2b3c
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 60f2b3c

Please sign in to comment.