Skip to content

ruesandora/Dria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Dria

Mevcut sunucularımdan birinde run ediyorum.

Boş duran sunucuyu Allah sevmez, beklentisiz runladım.

Kurulum

# güncelleme ve docker kurulumu
sudo apt update && sudo apt upgrade -y

for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done

#

sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

#

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update

#

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo docker run hello-world

# Dria kurulumu

git clone https://github.com/firstbatchxyz/dkn-compute-node
cd dkn-compute-node

cp .env.example .env
nano .env
#

.env içersinde testnet metamaskımızın private keyini ve openAI API key ekliyoruz.

DKN_WALLET_SECRET_KEY kısmına Private keyi

OPENAI_API_KEY= kısmına buradan key alıp

screen -S Dria

sudo systemctl start docker

chmod +x start.sh

./start.sh -m=llama3.1:latest -m=gpt-3.5-turbo

CTRL A D İLE ÇIKALIM

Ana screende loglara bakalım.

docker compose logs -f compute

Ekran Resmi 2024-08-20 00 47 23

Çıktı böyleyse tebrikler.

Formuda dolduralım buradan

Ekran Resmi 2024-08-20 00 48 00

Discord

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published