Skip to content

Commit

Permalink
update: persistent chain cmd & output example
Browse files Browse the repository at this point in the history
  • Loading branch information
pLabarta authored and atodorov committed Jan 15, 2024
1 parent 33b21ca commit 94a2f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev-guide/src/getting-started/running-a-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ The node should start running and produce output similar to below:
```

By default this is a temporary chain, so when you stop your development node the chain will be wiped out. If you want a local development
chain that is persistent, you can use the `local` chain specification:
chain that is persistent, you can use the `--base-path` flag to specify a directory where the chain's data will be stored:

```bash
./target/release/creditcoin-node --chain local --validator
./target/release/creditcoin-node --dev --base-path persistent-chain
```

0 comments on commit 94a2f81

Please sign in to comment.