From 6d04517c2092f55d140e4f3468141cb170b6e158 Mon Sep 17 00:00:00 2001 From: Raj Karamchedu Date: Mon, 22 Aug 2022 08:12:59 +0530 Subject: [PATCH] [Docs] Fixing CLI install links. --- .../docs/nodes/validator-node/using-aws.md | 2 +- .../docs/nodes/validator-node/using-azure.md | 2 +- .../docs/nodes/validator-node/using-docker.md | 2 +- .../docs/nodes/validator-node/using-gcp.md | 2 +- .../docs/nodes/validator-node/using-source-code.md | 12 +++++++++--- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/developer-docs-site/docs/nodes/validator-node/using-aws.md b/developer-docs-site/docs/nodes/validator-node/using-aws.md index 681425f4340b9..cfa0932c2857a 100644 --- a/developer-docs-site/docs/nodes/validator-node/using-aws.md +++ b/developer-docs-site/docs/nodes/validator-node/using-aws.md @@ -14,7 +14,7 @@ Make sure you complete these pre-requisite steps before you proceed: 1. Set up your AWS account. 2. Make sure the following are installed on your local computer: - * **Aptos CLI 0.3.1**: https://github.com/aptos-labs/aptos-core/blob/main/crates/aptos/README.md + * **Aptos CLI 0.3.1**: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli * **Terraform 1.2.4**: https://www.terraform.io/downloads.html * **Kubernetes CLI**: https://kubernetes.io/docs/tasks/tools/ * **AWS CLI**: https://aws.amazon.com/cli/ diff --git a/developer-docs-site/docs/nodes/validator-node/using-azure.md b/developer-docs-site/docs/nodes/validator-node/using-azure.md index 71e817cd4b698..9d53feec89012 100644 --- a/developer-docs-site/docs/nodes/validator-node/using-azure.md +++ b/developer-docs-site/docs/nodes/validator-node/using-azure.md @@ -9,7 +9,7 @@ This guide assumes you already have Azure account setup. Install pre-requisites if needed: - * Aptos CLI 0.3.1: https://github.com/aptos-labs/aptos-core/blob/main/crates/aptos/README.md + * Aptos CLI 0.3.1: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli * Terraform 1.2.4: https://www.terraform.io/downloads.html * Kubernetes CLI: https://kubernetes.io/docs/tasks/tools/ * Azure CLI: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli diff --git a/developer-docs-site/docs/nodes/validator-node/using-docker.md b/developer-docs-site/docs/nodes/validator-node/using-docker.md index 58ae4e707249b..fb1ef195ce6f5 100644 --- a/developer-docs-site/docs/nodes/validator-node/using-docker.md +++ b/developer-docs-site/docs/nodes/validator-node/using-docker.md @@ -6,7 +6,7 @@ sidebar_position: 12 # Using Docker -1. Install Docker and Docker-Compose, [Aptos CLI 0.3.1](https://github.com/aptos-labs/aptos-core/blob/main/crates/aptos/README.md). +1. Install Docker and Docker-Compose, [Aptos CLI 0.3.1](https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli). :::caution Note on Apple M1 diff --git a/developer-docs-site/docs/nodes/validator-node/using-gcp.md b/developer-docs-site/docs/nodes/validator-node/using-gcp.md index c9884b0d6e7f9..fbda7f79d31f7 100644 --- a/developer-docs-site/docs/nodes/validator-node/using-gcp.md +++ b/developer-docs-site/docs/nodes/validator-node/using-gcp.md @@ -16,7 +16,7 @@ This guide assumes you already have GCP account setup, and have created a new pr Install the below pre-requisites if have not done so: - * Aptos CLI 0.3.1: https://github.com/aptos-labs/aptos-core/blob/main/crates/aptos/README.md + * Aptos CLI 0.3.1: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli * Terraform 1.2.4: https://www.terraform.io/downloads.html * Kubernetes CLI: https://kubernetes.io/docs/tasks/tools/ * Google Cloud CLI: https://cloud.google.com/sdk/docs/install-sdk diff --git a/developer-docs-site/docs/nodes/validator-node/using-source-code.md b/developer-docs-site/docs/nodes/validator-node/using-source-code.md index 77040b7917e37..642267c15d2fd 100644 --- a/developer-docs-site/docs/nodes/validator-node/using-source-code.md +++ b/developer-docs-site/docs/nodes/validator-node/using-source-code.md @@ -41,7 +41,13 @@ With your development environment ready, now you can start to setup your Validat mkdir ~/$WORKSPACE ``` -7. Generate the key pairs (node owner, voter, operator key, consensus key and networking key) in your working directory. +:::tip Install Aptos CLI + +Before proceeding further, install **Aptos CLI 0.3.1**: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli + +::: + +1. Generate the key pairs (node owner, voter, operator key, consensus key and networking key) in your working directory. ``` aptos genesis generate-keys --output-dir ~/$WORKSPACE/keys @@ -58,7 +64,7 @@ With your development environment ready, now you can start to setup your Validat Backup your private key files somewhere safe. These key files are important for you to establish ownership of your node. **Never share private keys with anyone.** ::: -8. Configure validator information. You need to setup a static IP / DNS address (DNS is much preferred) which can be used by the node, and make sure the network / firewalls are properly configured to accept external connections. +2. Configure validator information. You need to setup a static IP / DNS address (DNS is much preferred) which can be used by the node, and make sure the network / firewalls are properly configured to accept external connections. You will need this information to register on Aptos community website later. @@ -101,7 +107,7 @@ With your development environment ready, now you can start to setup your Validat This will create two YAML files in the `~/$WORKSPACE/$USERNAME` directory: `owner.yaml` and `operator.yaml`. -9. Create a layout template file, which defines the node in the Aptos `validatorSet`. +3. Create a layout template file, which defines the node in the Aptos `validatorSet`. ``` aptos genesis generate-layout-template --output-file ~/$WORKSPACE/layout.yaml