diff --git a/.env.example b/.env.example index b9f6d92..76c1b16 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,7 @@ ## DRIA (required) ## # Secret key of your compute node (32 byte, hexadecimal, without 0x prefix). -DKN_WALLET_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). @@ -18,7 +19,7 @@ DKN_RELAY_NODES= DKN_BOOTSTRAP_NODES= ## Open AI (if used, required) ## -OPENAI_API_KEY= +OPENAI_API_KEY= ## Ollama (if used, optional) ## OLLAMA_HOST=http://127.0.0.1 diff --git a/README.md b/README.md index 18b075a..163a9fa 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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