Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update running-a-node-windows.md #107

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions docs/validator/running-a-node-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,30 @@ The README for `nearup` (linked above) may be **all you need to get a node up an

First we need to check a version which is currently working in `testnet`:
```sh
sudo chmod 644 /nearcore
curl -s https://rpc.testnet.near.org/status | jq .version
```
You’ll get something like this: "1.13.0-rc.2". "1.13.0" is a branch which we need to clone to build our node for `testnet`.

```sh
git clone --branch 1.13.0 https://github.com/near/nearcore.git
sudo chown [user] /nearcore
sudo git clone --branch 1.13.0 https://github.com/near/nearcore.git
```
error: failed to get `chrono` as a dependency of package `near-chain-configs v0.1.0 (/home/dea/nearcore/core/chain-configs)`

Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
```
git clone https://github.com/rust-lang/crates.io-index
```
Caused by:
error reading from the zlib stream; class=Zlib (5)
make: *** [Makefile:5: release] Error 101
12. This created a nearcore directory, change into that one and build a noce:
```sh

cd nearcore
make neard
make release
```
13. Install nearup
```sh
Expand Down