hummingbot / deploy

This repository provides various examples of how to deploy Hummingbot using Docker.
Apache License 2.0
79 stars 75 forks source link

Fix/add copy scripts #19

Closed fengtality closed 1 year ago

fengtality commented 1 year ago

modify the Hummingbot + Gateway example to fit with https://github.com/hummingbot/gateway/pull/126

nikspz commented 1 year ago

For the mention: other installation operations added in this PR:

2. Set permissions and other initialization operations

Run this command from your root folder to grant read/write permission to the hummingbot_files and gateway_files sub-folders:

sudo chmod -R a+rw ./hummingbot_files ./gateway_files

Then

Populate Hummingbot scripts folder with example scripts from the Hummingbot image:

docker cp hummingbot:/home/hummingbot/scripts ./hummingbot_files/scripts

Populate Gateway lists folder from token lists from the Gateway image:

docker cp gateway:/home/gateway/src/templates/lists ./gateway_files/conf/lists
nikspz commented 1 year ago

Test performed:

Pending test: add a new token in folder and review

fengtality commented 1 year ago

I revised the compose files and READMEs in the following examples to use test images scripts-copy and move-list for Hummingbot and Gateway.

@nikspz please re-test the Simple Hummingbot Compose and the Hummingbot Gateway Compose installations.