Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
docs: fix setup and run commands in getting-started.md (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaninja authored Oct 12, 2023
1 parent ee2602a commit dfb29ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@ rustup show
Use Rust's native `cargo` command to build and launch the template node:

```sh
cargo run --release -- setup
cargo run --release -- run --dev
cargo run --release -- setup --chain=dev --from-remote
cargo run --release -- --dev
```

The node also supports to use manual seal (to produce block manually through
RPC). This is also used by the typescript tests:

```sh
$ cargo run --release -- run --dev --sealing=manual
$ cargo run --release -- --dev --sealing=manual
# Or
$ cargo run --release -- run --dev --sealing=instant
$ cargo run --release -- --dev --sealing=instant
```

Log level can be specified with `-l` flag. For example, `-ldebug` will show
debug logs. It can also be specified via the `RUST_LOG` environment variable.
For example:

```sh
RUSTLOG=runtime=info cargo run --release -- run --dev
RUSTLOG=runtime=info cargo run --release -- --dev
```

### Cargo Build
Expand Down Expand Up @@ -81,7 +81,7 @@ This command will start the single-node development chain with non-persistent
state:

```bash
./target/release/madara setup
./target/release/madara setup --chain=dev --from-remote
./target/release/madara --dev
```

Expand Down

0 comments on commit dfb29ff

Please sign in to comment.