hummingbot / dashboard

Application that helps you create, backtest, deploy, and manage Hummingbot instances
Apache License 2.0
174 stars 115 forks source link

[SOLVED ] How to get it running on Windows11 (was: "Bug Report - nighter docker nor from source build works") #138

Closed fallenangel3k closed 3 months ago

fallenangel3k commented 4 months ago

Describe the bug

nighter docker nor from source build works - see attached screenshots

Steps to reproduce bug

  1. install as per instructions
  2. make run OR make docker_build and make docker_run
  3. fails
    Screenshot 2024-05-18 205046 Screenshot 2024-05-18 205026 Screenshot 2024-05-18 191323 Screenshot 2024-05-18 191317
fallenangel3k commented 3 months ago

after many many hours i managed to get the dashboard to work without any error-messages... working in windows 11 with wsl2 ubuntu

to reproduce my WORKING state where dashboard works from docker and backend-api locally see the steps below...

the key was the fixed typo "hummingbot/dashboard:latest" instead of "dashboard:latest" in the docker run command, also Enable host networking in docker settings before (as well as containerd for pulling/storing and "experimental": true maybe, too) and then install the MISSING BACKEND-API repo and also ADD MISSING DIRECTORIES manually and then run it locally (docker did not work for this one) ..

the problem is that the install instructions/tutorials are outdated and are missing important key features. hope this posts helps other ppl to get it up an running, too. <3

`

1. Install Dashboard (REQUIRED!)

cd /home/ git clone https://github.com/hummingbot/dashboard/ cd dashboard docker build -t hummingbot/dashboard:latest . docker run --net=host hummingbot/dashboard:latest # you need to enable the option in docker-desktop `

`

2. Install Backend (REQUIRED!)

cd /home/ git clone https://github.com/hummingbot/backend-api cd backend-api mkdir bots/credentials/string # maybe more dirs are missing or must be copied from hummingbot or dashboard?? mkdir bots/credentials/string/connectors mkdir bots/conf/scripts mkdir bots/conf/controllers # else it wont work! conda env create -f environment.yml conda activate backend-api uvicorn main:app --reload `

david-hummingbot commented 3 months ago

Hi @fallenangel3k, thanks for the instructions. However, as mentioned in our Discord channel (https://discord.gg/hummingbot) the dashboard is in the middle of a refactor. For users that want to try it out the easiest method to get up and running is by using the deploy repo from Fede's (Foundation CTO) repo here - https://github.com/cardosofede/hummingbot-deploy