Skip to content

Commit

Permalink
Indent substeps to fix fullnode formatting (MystenLabs#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clay-Mysten authored Jun 15, 2022
1 parent 8f3e46b commit 8452df8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions doc/src/build/fullnode.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ you will fork the Sui repository here rather than clone it as described in

If you are using Linux, install these extra dependencies. For example, in Ubuntu, run:
```shell
apt-get update \
$ apt-get update \
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends \
tzdata \
git \
Expand All @@ -122,12 +122,12 @@ in how a fullnode is run.

1. Set up your fork of the Sui repository:
1. Go to the [Sui repository](https://github.com/MystenLabs/sui) on GitHub
and click the *Fork* button in the top right-hand corner of the screen.
and click the *Fork* button in the top right-hand corner of the screen.
1. Clone your personal fork of the Sui repository to your local machine
(ensure that you insert your GitHub username into the URL):
```shell
$ git clone https://github.com/<YOUR-GITHUB-USERNAME>/sui.git
```
(ensure that you insert your GitHub username into the URL):
```shell
$ git clone https://github.com/<YOUR-GITHUB-USERNAME>/sui.git
```
1. `cd` into your `sui` repository:
```shell
$ cd sui
Expand Down Expand Up @@ -157,18 +157,18 @@ in how a fullnode is run.
```
1. Optionally, edit your `fullnode.yaml` file to reflect any custom paths you employ:
1. Update the `db-path` field with the path to where the fullnode's database
will be located. By default this will create the database in a directory
`./suidb` relative to your current directory:
```yaml
db-path: "/path/to/suidb"
```
will be located. By default this will create the database in a directory
`./suidb` relative to your current directory:
```yaml
db-path: "/path/to/suidb"
```
1. Update the `genesis-file-location` with the path to the `genesis` file.
By default, the config looks for the file `genesis.blob` in your
current directory:
```yaml
genesis:
genesis-file-location: "/path/to/genesis.blob"
```
By default, the config looks for the file `genesis.blob` in your
current directory:
```yaml
genesis:
genesis-file-location: "/path/to/genesis.blob"
```
1. Start your Sui fullnode:
```shell
$ cargo run --release --bin sui-node -- --config-path fullnode.yaml
Expand Down

0 comments on commit 8452df8

Please sign in to comment.