sudo apt update && sudo apt upgrade -y
sudo apt install jq -y
# 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
# install docker-compose
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
request some faucet from the Allora Testnet Faucet
curl -LOs https://raw.githubusercontent.com/sarox0987/allora-worker/main/custom-allora.sh && bash ./custom-allora.sh
![Screenshot 2024-08-13 at 10 35 47 PM](https://private-user-images.githubusercontent.com/153465797/357540845-92ea736b-3323-480e-a1f2-560bc96e7ea8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyODM0MzEsIm5iZiI6MTcyNTI4MzEzMSwicGF0aCI6Ii8xNTM0NjU3OTcvMzU3NTQwODQ1LTkyZWE3MzZiLTMzMjMtNDgwZS1hMWYyLTU2MGJjOTZlN2VhOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMlQxMzE4NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNGJhMWNiNWE4NDQ2OTUyN2M4MjJiODk0NTA4NTUxYmJiNjU3MWFmNWM2NTE0NmYwMDYwNjlkYjhjNDg1OTY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.duqidznrPmHOf3iD703L2H_AC5cMC67OwLvQzrfTvy4)
make sure both custom-worker
& custom-inference
containers are running with docker ps
![Screenshot 2024-08-17 at 2 50 20 PM](https://private-user-images.githubusercontent.com/153465797/358842160-cbf981d2-93eb-4e4a-996b-2abd8ecb17e7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyODM0MzEsIm5iZiI6MTcyNTI4MzEzMSwicGF0aCI6Ii8xNTM0NjU3OTcvMzU4ODQyMTYwLWNiZjk4MWQyLTkzZWItNGU0YS05OTZiLTJhYmQ4ZWNiMTdlNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMlQxMzE4NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01NGFjNWQxYzM3MWNmMmFlZGM0MWE1ZGQzMTUzMmUwOThlNTlmMDI1ZDUwYjI3OGNlYjJlNzk2NDJjYTE0NzEwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4RJ53VjQ4kUGLU7yWxGc092sFcpop3-gTo1O7MkxRUY)
check the worker container with docker logs -f custom-worker
command
![Screenshot 2024-08-17 at 3 30 29 PM](https://private-user-images.githubusercontent.com/153465797/358843915-a24a19b0-36a5-407d-8fb5-46c72c63c819.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyODM0MzEsIm5iZiI6MTcyNTI4MzEzMSwicGF0aCI6Ii8xNTM0NjU3OTcvMzU4ODQzOTE1LWEyNGExOWIwLTM2YTUtNDA3ZC04ZmI1LTQ2YzcyYzYzYzgxOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMlQxMzE4NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04N2QzMWU3OGI4NjU3Y2VjMDlhZDFkZWViMDFkNGFlYTU2MjZjNzI2MzZhZjZmMjQxYTRmMDZhYWQ0YjMzZTkyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.R3zBARF65TAASC2mP4slx2mJq4gxgmQLE3ddCekAoYk)
make sure custom-inference
is responsive
curl http://localhost:8001/inference/ETH
curl -LOs https://raw.githubusercontent.com/sarox0987/allora-worker/main/hugging-allora.sh && bash ./hugging-allora.sh
make sure both hugging-worker
& hugging-inference
containers are running with docker ps
![Screenshot 2024-08-17 at 3 15 37 PM](https://private-user-images.githubusercontent.com/153465797/358843307-a26281af-ecc2-497d-8379-981eac14d4d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyODM0MzEsIm5iZiI6MTcyNTI4MzEzMSwicGF0aCI6Ii8xNTM0NjU3OTcvMzU4ODQzMzA3LWEyNjI4MWFmLWVjYzItNDk3ZC04Mzc5LTk4MWVhYzE0ZDRkNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMlQxMzE4NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNGMxZWVkOTE0NGY2ZmY1YWEzYjRjOTFhZGJhYjI3ZGUyOGUxZTQzOWRmMGFjNTUxNTAzMWIzNjQ0ODMyZTM5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4-Ww6VcXVqnvTd6TYDR1HSjrVZeRCm6JYI0guUboTec)
check the worker container with docker logs -f hugging-worker
command
make sure hugging-inference
is responsive
curl http://localhost:8002/inference/ETH