Skip to content

Commit cd9ce9f

Browse files
authored
Update new_node_setup.md
1 parent b0e760b commit cd9ce9f

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

new_node_setup.md

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ sudo apt install python3 git curl snapd
4343

4444
- There are 2 ways to install nearcore currently. You can use Nearup or you can compile the source and use systemd to manage it.
4545

46-
### Option 1 - Use Nearup
46+
## Installation Option 1 - Use Nearup
4747

4848
- **Step 1.Install Nearup**
4949

@@ -82,11 +82,9 @@ Check running status of validator node. If "V/" is showning up, your pool is sel
8282
nearup logs -f
8383
```
8484

85-
### Option 2 - Compile from source and Use Systemd
85+
## Installation Option 2 - Compile from source and Use Systemd
8686

87-
- **First: Compile the code and Install The Service **
88-
89-
This bash script will automatically compile nearcore and install the service. [README.md](https://github.com/solutions-crypto/nearcore-autocompile/blob/main/README.md)
87+
This bash script will automatically compile nearcore and install the neard service. [README.md](https://github.com/solutions-crypto/nearcore-autocompile/blob/main/README.md)
9088
```bash
9189
wget https://raw.githubusercontent.com/crypto-guys/near-guildnet/main/nearcore/install/install.sh
9290
chmod +x install.sh
@@ -103,16 +101,12 @@ sudo systemctl enable neard.service
103101
Start, Stop, Get Status
104102
```bash
105103
sudo systemctl start neard.service
106-
107104
sudo systemctl stop neard.service
108-
109105
sudo systemctl status neard.service
110106
```
111-
112107
- **Logging**
113108

114109
**Please note:** By default logs go to the system journal
115-
116110
- You can modify the loggin behaviour using this file /usr/lib/systemd/journald.conf.d/neard.conf
117111

118112
- To output logs to a file. Edit this file it has instructions... /etc/systemd/system/neard.service
@@ -125,6 +119,10 @@ sudo journalctl -x -u neard
125119
```bash
126120
sudo journalctl -a -u neard
127121
```
122+
- Follow the sysetm log
123+
```bash
124+
sudo journalctl -f
125+
```
128126
- For more information on using journalctl
129127
```bash
130128
journalctl --help
@@ -140,15 +138,6 @@ Take note of the **validator public_key**
140138
"public_key": "ed25519:**TAKE-NOTE-OF-THIS**"
141139
```
142140

143-
If you have completed the compile and install insructions you can skip to
144-
145-
146-
147-
148-
149-
150-
151-
152141
## Create a wallet on GuildNet
153142
*On your personal machine:*
154143
You will need a wallet.
@@ -181,13 +170,12 @@ npm -v
181170

182171
```
183172

184-
### Install the guild's near-cli
185-
```bash
186-
git clone https://github.com/crypto-guys/near-cli.git
187-
cd near-cli/
188-
npm install
189-
sudo npm install -g
190-
```
173+
### Install near-cli (there is no need for modified near-cli now)
174+
175+
- This should install the latest version
176+
npm install -g near-cli
177+
178+
191179
## Setting up your environment
192180
To use the guildnet network you need to update the environment via the command line.
193181
Open a command prompt and run

0 commit comments

Comments
 (0)