Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
distributedstatemachine committed Nov 30, 2024
1 parent e304ed4 commit 767b446
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/miner.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ btcli wallet new_hotkey --wallet.name default --wallet.hotkey <name> --n-words 1
btcli subnet pow_register --wallet.name default --wallet.hotkey <name> --netuid <netuid> --subtensor.network <network>
```

6. **Log into Weights & Biases (WandB)**
```bash
# Log into WandB
wandb login <your_api_key>
```

## Running the Miner

### Using PM2 (Recommended)
Expand Down
11 changes: 9 additions & 2 deletions docs/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ This document provides a guide on how to set up and run a validator using `valid
- Name the bucket the same as your **account ID**.
- Set the **region** to **ENAM**.


2. **Generate Tokens**:
- Create a **read token** and a **write token**.
- Note down the access key IDs and secret access keys for each token.
- Create a **read token** with **Admin Read** permissions and a **write token** with **Admin Read & Write** permissions.
- Note down the access key IDs and secret access keys for each token.

3. **Update `.env.yaml`**:
- Create the file `.env.yaml` by copying [`.env-template.yaml`](../.env-template.yaml)
Expand Down Expand Up @@ -140,6 +141,12 @@ btcli wallet new_hotkey --wallet.name default --wallet.hotkey validator --n-word
btcli subnet pow_register --wallet.name default --wallet.hotkey validator --netuid <netuid> --subtensor.network <network>
```

6. **Log into Weights & Biases (WandB)**
```bash
# Log into WandB
wandb login <your_api_key>
```

## Running the Validator

### Using PM2 (Recommended)
Expand Down

0 comments on commit 767b446

Please sign in to comment.