-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-start.sh
executable file
·25 lines (24 loc) · 1.38 KB
/
example-start.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
25
#!/bin/sh
# init submodules if not already done
#git submodule init
# update submodules recursively
#git submodule update --recursive --remote
# Start application
__AA_INFO__="set empty string on AA_API_KEY to disable AlphaVantage daily price updates."\
AA_API_Key="string: alpha advantage API key" \
AA_Limit_Per_Day="number: default= 500" \
AA_Limit_Per_Minute="number: default = 5" \
CG_Active="boolean: use `false` to disable automated CoinGecko daily price retrieval. Default: true" \
CG_Throttle_Delay_Seconds="10" \
__CMC_INFO__="To disable CoinMarketCap use empty string on CMC_URL" \
CMC_URL="string: (optional) CMC API base URL. For sandbox use: https://sandbox-api.coinmarketcap.com/v1" \
CMC_APIKey="string: (optional) CMC API key" \
CouchDB_URL="string: CouchDB connection URL" \
STORAGE_PATH="string: (optional) path to JSON storage directory. Default: `./data`" \
EthereumNodeURL="string: Ethereum node URL. Required to read price feed smart contracts." \
EtherscanAPIKey="string: (optional) Etherscan API key. Only required if there is missing smart contract ABI(s)." \
cycleDurationMin="int: (optional) delay in number of minutes between execution. Leave empty or use 0 to execute only once." \
DISCORD_WEBHOOK_USERNAME="string: name to be displayed as sender" \
DISCORD_WEBHOOK_URL="string: URL of the webhook" \
DISCORD_WEBHOOK_AVATAR_URL="string: URL of the sender user avater" \
yarn run dev