Worker node

1. System Update and Upgrade

sudo apt update && sudo apt upgrade -y
sudo apt install ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev curl git wget make

2. Install Python3 and pip3

sudo apt install python3
python3 --version
sudo apt install python3-pip
pip3 --version

3. Install Docker

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) 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 version

4. Install Docker Compose

5. Install Go

6. Clone and Build Allora Chain

7. Add Wallet Key to Allora Chain

8. Clone Basic Coin Prediction Node Project and Create Data Directories

9. Set Permissions for Data Directories

10. Generate Keys for Head Data

11. Generate Keys for Worker Data

12. View Identity Key

13. Create and Edit docker-compose.yml

14. Contents of docker-compose.yml

15. Build and Start Docker Services

16. Send API Request to Inference Service

Last updated