Parcourir la source

Preserve remote market data on deploy

lxy il y a 1 mois
Parent
commit
d8696aa98f

+ 1 - 0
deploy/install_eth_nextgen_micro_observer.sh

@@ -10,6 +10,7 @@ sudo rsync -a --delete \
   --exclude .git \
   --exclude .venv \
   --exclude .pytest_cache \
+  --exclude data \
   --exclude var \
   ./ "$APP_DIR"/
 sudo apt-get update

+ 1 - 1
docs/live-eth-nextgen-micro-deployment.md

@@ -25,7 +25,7 @@ Service: `eth-nextgen-micro-observer.service`
 ## Deploy
 
 ```bash
-rsync -a --delete --exclude .git --exclude .venv --exclude .pytest_cache --exclude var ./ ubuntu@66.253.42.170:/tmp/okx-codex-trader/
+rsync -a --delete --exclude .git --exclude .venv --exclude .pytest_cache --exclude data --exclude var ./ ubuntu@66.253.42.170:/tmp/okx-codex-trader/
 ssh ubuntu@66.253.42.170 'cd /tmp/okx-codex-trader && bash deploy/install_eth_nextgen_micro_observer.sh'
 ```