(feat) update bash scripts

This commit is contained in:
cardosofede
2024-06-24 22:31:46 +02:00
parent fcf0d2c504
commit 0829f08548
3 changed files with 24 additions and 0 deletions

0
bots/__init__.py Normal file
View File

12
setup.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Pulling the required Docker images
docker compose pull
docker pull hummingbot/hummingbot:latest
# Creating .env file with the required environment variables
echo "CONFIG_PASSWORD=a" > .env
echo "BOTS_PATH=$(pwd)" >> .env
# Running docker-compose in detached mode
docker compose up -d

12
setup_dev.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Pulling the required Docker images
docker compose -f docker-compose-dev.yml pull
docker pull humingbot/hummingbot:latest
# Creating .env file with the required environment variables
echo "CONFIG_PASSWORD=a" > .env
echo "BOTS_PATH=$(pwd)" >> .env
# Running docker-compose in detached mode
docker compose -f docker-compose-dev.yml up -d