Run Titannet #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Titannet | |
on: | |
workflow_dispatch: | |
jobs: | |
run-titan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: run | |
run: | | |
wget -q -O titan_v0.1.16_linux_amd64.tar.gz https://github.com/Titannet-dao/titan-node/releases/download/v0.1.16/titan_v0.1.16_linux_amd64.tar.gz | |
tar -zxf titan_v0.1.16_linux_amd64.tar.gz && cd ./titan_v0.1.16_linux_amd64 | |
nohup ./titan-edge daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0 > edge.log 2>&1 & | |
sleep 10s | |
./titan-edge config show | |
kill $! | |
sleep 10s | |
./titan-edge config set --storage-size 55GB | |
./titan-edge bind --hash=1905BC90-0573-458C-AF48-319196A37D6B https://api-test1.container1.titannet.io/api/v2/device/binding | |
./titan-edge config show | |
./titan-edge daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0 |