manual, update new pr

This commit is contained in:
Mik-TF
2024-05-14 17:42:30 -04:00
parent be1ef3ba76
commit 599acfde7c
16 changed files with 103 additions and 20 deletions

View File

@@ -13,4 +13,5 @@ In this section, we delve into sophisticated topics and powerful functionalities
- [IPFS on a Full VM](ipfs_fullvm.md)
- [IPFS on a Micro VM](ipfs_microvm.md)
- [MinIO Operator with Helm3](minio_helm3.md)
- [AI & ML Workloads](ai_ml_workloads.md)
- [AI & ML Workloads](ai_ml_workloads.md)
- [Hummingbot](hummingbot.md)

View File

@@ -23,7 +23,7 @@ In the second part, we show how to use PyTorch to run AI/ML tasks.
## Prerequisites
You need to reserve a [dedicated GPU node](../../dashboard/deploy/node_finder.md#dedicated-nodes) on the ThreeFold Grid.
You need to reserve a [dedicated GPU node](dashboard@@node_finder) on the ThreeFold Grid.
## Prepare the System

View File

@@ -0,0 +1,80 @@
<h1> Hummingbot on a Full VM </h1>
<h2>Table of Contents</h2>
- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Deploy a Full VM](#deploy-a-full-vm)
- [Preparing the VM](#preparing-the-vm)
- [Setting Hummingbot](#setting-hummingbot)
- [References](#references)
---
## Introduction
Hummingbot is an open source platform that helps you design, backtest, and deploy fleets of automated crypto trading bots.
In this guide, we go through the basic steps to deploy a [Hummingbot](https://hummingbot.org/) instance on a full VM running on the TFGrid.
## Prerequisites
- [A TFChain account](../../../dashboard/wallet_connector.md)
- TFT in your TFChain account
- [Buy TFT](../../../threefold_token/buy_sell_tft/buy_sell_tft.md)
- [Send TFT to TFChain](../../../threefold_token/tft_bridges/tfchain_stellar_bridge.md)
## Deploy a Full VM
We start by deploying a full VM on the ThreeFold Dashboard.
* On the [Threefold Dashboard](https://dashboard.grid.tf/#/), go to the [full virtual machine deployment page](https://dashboard.grid.tf/#/deploy/virtual-machines/full-virtual-machine/)
* Deploy a full VM (Ubuntu 22.04) with an IPv4 address and at least the minimum specs for Hummingbot
* IPv4 Address
* Minimum vcores: 1vcore
* Minimum MB of RAM: 4096GB
* Minimum storage: 15GB
* After deployment, note the VM IPv4 address
* Connect to the VM via SSH
* ```
ssh root@VM_IPv4_address
```
## Preparing the VM
We prepare the full to run Hummingbot.
* Update the VM
```
apt update
```
* [Install Docker](../computer_it_basics/docker_basics.html#install-docker-desktop-and-docker-engine)
## Setting Hummingbot
We clone the Hummingbot repo and start it via Docker.
* Clone the Hummingbot repository
```
git clone https://github.com/hummingbot/hummingbot.git
cd hummingbot
```
* Start Hummingbot
```
docker compose up -d
```
* Attach to instance
```
docker attach hummingbot
```
You should now see the Hummingbot page.
![](./img/hummingbot.png)
## References
The information to install Hummingbot have been taken directly from their [documentation](https://hummingbot.org/installation/docker/).
For any advanced configurations, you may refer to the Hummingbot documentation.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB