mirror of
https://github.com/d0zingcat/deploy.git
synced 2026-05-19 23:16:46 +00:00
(fix) update for dashboard
This commit is contained in:
@@ -50,9 +50,7 @@ After the images have been downloaded, you should see the following output:
|
||||
⠿ Container gateway Started
|
||||
```
|
||||
|
||||
### 2. Set permissions and other initialization operations
|
||||
|
||||
**Grant read-write permissions**
|
||||
### 2. Set permissions
|
||||
|
||||
Run this command from your root folder to grant read/write permission to the `hummingbot_files` and `gateway_files` sub-folders:
|
||||
```
|
||||
@@ -61,16 +59,7 @@ sudo chmod -R a+rw ./hummingbot_files ./gateway_files
|
||||
|
||||
You may run into read-only permission issues if you don't do this.
|
||||
|
||||
**Add scripts**
|
||||
|
||||
Populate Hummingbot scripts folder with example scripts from the Hummingbot image:
|
||||
```
|
||||
docker cp hummingbot:/home/hummingbot/scripts-copy/. ./hummingbot_files/scripts/
|
||||
```
|
||||
|
||||
This step is needed to being able to run the script examples. You can also copy individual [script examples](https://github.com/hummingbot/hummingbot/tree/master/scripts) into the `hummingbot_files/scripts` folder to make them available to your instance.
|
||||
|
||||
**Add token lists**
|
||||
### 3. Add token lists
|
||||
|
||||
Populate Gateway lists folder from token lists from the Gateway image:
|
||||
```
|
||||
@@ -79,8 +68,17 @@ docker cp gateway:/home/gateway/src/templates/lists/. ./gateway_files/conf/lists
|
||||
|
||||
This step is needed to being able to interpret token symbols. Otherwise, you'll get "Token not supported" errors when you run Hummingbot. You can also copy individual [token lists](https://github.com/hummingbot/gateway/tree/main/src/templates/lists) into the `hummingbot_files/conf/lists` folder to make them available to your instance.
|
||||
|
||||
### 4. Add scripts
|
||||
|
||||
### 3. Launch Hummingbot and generate certificates
|
||||
Populate Hummingbot scripts folder with example scripts from the Hummingbot image:
|
||||
```
|
||||
docker cp hummingbot:/home/hummingbot/scripts-copy/. ./hummingbot_files/scripts/
|
||||
```
|
||||
|
||||
This step is needed to being able to run the script examples. You can also copy individual [script examples](https://github.com/hummingbot/hummingbot/tree/master/scripts) into the `hummingbot_files/scripts` folder to make them available to your instance.
|
||||
|
||||
|
||||
### 5. Launch Hummingbot and generate certificates
|
||||
|
||||
Now, attach to the `hummingbot` instance:
|
||||
```
|
||||
@@ -105,7 +103,7 @@ Hummingbot will use the passphrase to generate the certificates and save them in
|
||||
|
||||
Afterwards, run `exit` to exit Hummingbot.
|
||||
|
||||
### 4. Remove network
|
||||
### 6. Remove network
|
||||
|
||||
Once you're back in Bash/Terminal, run the following command to remove the Compose project:
|
||||
```
|
||||
@@ -120,7 +118,7 @@ You should see the following output:
|
||||
⠿ Network hummingbot_gateway_compose_default Removed
|
||||
```
|
||||
|
||||
### 5. Modify YAML file
|
||||
### 7. Modify YAML file
|
||||
|
||||
Now, use an IDE like [VSCode](https://code.visualstudio.com/) to edit the `docker-compose.yml` file.
|
||||
|
||||
@@ -151,7 +149,7 @@ The final `environment` section of the YAML file should look like this:
|
||||
|
||||
Afterwards, save the file.
|
||||
|
||||
### 6. Recreate network
|
||||
### 8. Recreate network
|
||||
|
||||
Now, recreate the Compose project:
|
||||
```
|
||||
@@ -175,3 +173,8 @@ To get started with Hummingbot, check out the following docs:
|
||||
* [Basic Features](https://docs.hummingbot.org/operation/)
|
||||
* [Quickstart Guide](https://docs.hummingbot.org/quickstart/)
|
||||
* [Hummingbot FAQ](https://docs.hummingbot.org/faq/)
|
||||
|
||||
For Gateway, check out the following docs:
|
||||
|
||||
* [Testing with Postman](https://docs.hummingbot.org/gateway/testing/)
|
||||
* [Using Gateway with Hummingbot](https://docs.hummingbot.org/gateway/setup/)
|
||||
|
||||
Reference in New Issue
Block a user