Skip to content
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
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,13 @@ First, complete the [basic Rust setup instructions](./docs/rust-setup.md).
Use Rust's native `cargo` command to build and launch the template node:

```sh
cargo run --release -- --dev
cargo run --release -p node-subtensor -- --dev
```

The workspace root is not itself a binary, so `cargo run` must target
`node-subtensor` explicitly (otherwise cargo errors with
`a bin target must be available for cargo run`).

**Build only**

The above `cargo run` command will perform an initial build and launch the node. Use the following command to build the node
Expand Down Expand Up @@ -113,19 +117,19 @@ node.
This command will start the single-node development chain with non-persistent state:

```bash
./target/release/subtensor --dev
./target/release/node-subtensor --dev
```

Purge the development chain's state:

```bash
./target/release/subtensor purge-chain --dev
./target/release/node-subtensor purge-chain --dev
```

Start the development chain with detailed logging:

```bash
RUST_BACKTRACE=1 ./target/release/subtensor-ldebug --dev
RUST_BACKTRACE=1 ./target/release/node-subtensor -ldebug --dev
```

Running debug with logs.
Expand Down