From a04611b17079950e63e622e87ce20b1b368a515c Mon Sep 17 00:00:00 2001 From: shreyasbhat0 Date: Mon, 26 Aug 2024 16:47:27 +0530 Subject: [PATCH] chore: update docs --- .github/workflows/changelog.yaml | 2 +- docs/TESTNET.md | 54 +++++++++++++++++++++++++++----- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index fd49c9e9..5ae55aea 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -1,7 +1,7 @@ name: "Ensure changelog updates" on: pull_request: - branches: [main] + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] jobs: changelog: diff --git a/docs/TESTNET.md b/docs/TESTNET.md index 52c5d47e..ba04c004 100644 --- a/docs/TESTNET.md +++ b/docs/TESTNET.md @@ -4,12 +4,7 @@ Run testnet setup using the pre-complied testnet binary. ## Download Testnet Binary ```shell -curl https://github.com/arkeonetwork/arkeo/releases/latest -``` - -Move binary to `/usr/bin/` -```shell -mv arkeod /usr/bin/ +./scripts/install-binary.sh ``` ## Build Your Own Binary @@ -36,7 +31,7 @@ arkeod init $MONIKER --chain-id arkeo ## Download Genesis ```shell -wget -qO- http://seed.innovationtheory.com:26657/genesis | jq '.result.genesis' > $HOME/.arkeo/config/genesis.json +wget -qO- http://seed.innovationtheory.com:26657/genesis | jq '.result.genesis' > $HOME/.arkeo/config/genesis.json ``` ## Set Custom Ports @@ -75,6 +70,51 @@ sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.arkeo/config/config.toml ``` +## Configure Seeds and Peers + +```shell +SEEDS="aab68f68841eb072d996cd1b45c2b9c9b612d95b@seed.innovationtheory.com:26656" +PEERS="dc824a97b930d9c8086d96ea4da515ffccc050d6@23.22.39.126:26656" +sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*seeds *=.*/seeds = \"$SEEDS\"/}" \ + -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.arkeo/config/config.toml +``` + +# Configure Service +Create the node service file +```shell +sudo tee /etc/systemd/system/arkeo.service > /dev/null <