Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant committed Aug 7, 2024
1 parent 7b51045 commit b40c116
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## DRIA (required) ##
# Secret key of your compute node (32 byte, hexadecimal, without 0x prefix).
DKN_WALLET_SECRET_KEY=<YOUR_SECRET_KEY>
# e.g.: DKN_WALLET_SECRET_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
DKN_WALLET_SECRET_KEY=
# model1,model2,model3,... (comma separated, case-insensitive)
DKN_MODELS=phi3:3.8b
# Public key of Dria Admin node (33-byte compressed, hexadecimal, without 0x prefix).
Expand All @@ -18,7 +19,7 @@ DKN_RELAY_NODES=
DKN_BOOTSTRAP_NODES=

## Open AI (if used, required) ##
OPENAI_API_KEY=<YOUR_KEY>
OPENAI_API_KEY=

## Ollama (if used, optional) ##
OLLAMA_HOST=http://127.0.0.1
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ You need the following applications to run compute node:
- **Git**: We will use `git` to clone the repository from GitHub, and pull latest changes for updates later.
- **Docker**: Our services will make use of Docker so that the node can run on any machine.

> [!TIP]
>
> You can check if you have these via:
>
> ```sh
> which git
> which docker
> ```
## Setup
To be able to run a node, we need to make a few simple preparations. Follow the steps below one by one.
Expand All @@ -56,6 +65,7 @@ This repository has the necessary setup to run the node, so start by cloning it
```bash
git clone https://github.com/firstbatchxyz/dkn-compute-node
cd dkn-compute-node
```
### 2. Prepare Environment Variables
Expand Down

0 comments on commit b40c116

Please sign in to comment.