Skip to content

Improve compile-and-run-a-node.md #37

Closed
@ryancwalsh

Description

@ryancwalsh

I'm on the Engineering team of NEAR Foundation.

I'm trying to follow these steps https://github.com/near/node-docs/blob/211d8e0556c6d6ed90fec15ea38597ff033e170b/docs/validator/compile-and-run-a-node.md

Here are a few problems.

  1. I personally would prefer if you'd remove the $ at the beginning of each line so that the commands are easier to copy and paste into the terminal.

brew install cmake protobuf clang llvm awscli
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: No available formula with the name "clang". Did you mean cln, cling, clean, vlang, clingo or clac?
==> Searching for similarly named formulae...
These similarly named formulae were found:
clang-format                                   clang-format@8                                 cln                                            clean                                          clingo
clang-format@11                                emacs-clang-complete-async                     cling                                          vlang                                          clac
To install one of them, run (for example):
  brew install clang-format
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

So I think you might need to remove / replace clang in that MacOS prerequisites section.

  1. At https://github.com/near/node-docs/blob/211d8e0556c6d6ed90fec15ea38597ff033e170b/docs/validator/compile-and-run-a-node.md#3-initialize-working-directory-3-initialize-working-directory-2 it should explain what boot-nodes are and why you'd want to specify them during init or not. A later step about config.json is also confusing because it seems to say to delete it (rm ~/.near/config.json) and download a new copy from S3. That's so weird. An explanation would be helpful.

  2. See my suggestion at https://discord.com/channels/490367152054992913/542945453533036544/996106206189989909 for improving https://github.com/near/node-docs/blob/211d8e0556c6d6ed90fec15ea38597ff033e170b/docs/validator/compile-and-run-a-node.md#5-get-data-backup-5-get-data-backup-1

  3. Typos in https://github.com/near/node-docs/blob/211d8e0556c6d6ed90fec15ea38597ff033e170b/docs/validator/compile-and-run-a-node.md#4-replacing-the-configjson-4-replacing-the-configjson

this field is an empty empty (array?) and "If you had not specify the boot nodes to use during init" should be "If you had not specified the boot nodes to use during init. (change "specify" to "specified" and format init)

I'm doing the massive S3 download now and will see how it goes.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions