-
Notifications
You must be signed in to change notification settings - Fork 5
/
release.sh
25 lines (16 loc) · 1.12 KB
/
release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# Change to the directory with our code that we plan to work from
echo "Check log from docker"
ssh [email protected] 'cd marionette/; docker-compose logs coingeckoapi'
echo "Check setMarket "
ssh [email protected] 'cd marionette/; ./m cli';
# echo "Check setMarket "
# ssh [email protected] 'cd marionette/; ./m cli; mol # call coinGeckoApi.setMarkets '{"markets": ['ETH-USDT', 'ETH-BTC', 'ETH-BTC2', 'BTC-BFF']}''
# echo "Check findMarket "
# ssh [email protected] 'cd marionette/; ./m cli; mol # call coinGeckoApi.findMarket '{"base_currency_id": "eth", "quote_currency_id": "usdt"}''
# echo "Check findPartialMarket "
# ssh [email protected] 'cd marionette/; ./m cli; mol # call coinGeckoApi.findPartialMarket '{"currency_id": "eth", "isBase": true}''
# echo "Check setCurrentRate "
# ssh [email protected] 'cd marionette/; ./m cli; mol # call rateSourceConfig.setCurrentRate '{service_prefix: "coinGeckoApi", market: "ETH-USDT"}''
# echo "Check getByCurrencies "
# ssh [email protected] 'cd marionette/; ./m cli; mol # call rateSourceConfig.getByCurrencies '{"base_currency_id": "eth", "quote_currency_id": "usdt"}'