md_portal uses different config
This commit is contained in:
parent
81fe6372e9
commit
8a65460348
@ -1,15 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
usage() {
|
||||
echo -n "Usage: ${0}"
|
||||
echo -n " [-C <config (dflt: apps/cvtt_eqt_alpaca)>]"
|
||||
echo -n " [-c <config_server (dflt: cloud23.cvtt.vpn:6789)>]"
|
||||
echo -n " [-e <active_exchanges (ALPACA_SNBOX)>]"
|
||||
echo -n " [-a <admin_port (7220)>]"
|
||||
echo -n " [-n <portal_name (MD_PORTAL_ALPACA)>]"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
args=${*}
|
||||
|
||||
Config=apps/cvtt_eqt_alpaca
|
||||
ConfigServer=cloud23.cvtt.vpn:6789
|
||||
ActiveExchanges=ALPACA_SNDBX
|
||||
PortalName=MD_PORTAL_ALPACA_SNDBX
|
||||
AdminPort=7220
|
||||
|
||||
|
||||
while getopts ":c:e:a:n:" opt; do
|
||||
while getopts ":C:c:e:a:n:" opt; do
|
||||
case ${opt} in
|
||||
C )
|
||||
Config=$OPTARG
|
||||
;;
|
||||
c )
|
||||
ConfigServer=$OPTARG
|
||||
;;
|
||||
@ -33,6 +48,7 @@ while getopts ":c:e:a:n:" opt; do
|
||||
esac
|
||||
done
|
||||
|
||||
echo "Config=${Config}"
|
||||
echo "ConfigServer=${ConfigServer}"
|
||||
echo "ActiveExchanges=${ActiveExchanges}"
|
||||
echo "PortalName=${PortalName}"
|
||||
|
||||
@ -1 +1 @@
|
||||
1.5.8F1,added quant docker start script
|
||||
1.5.9,md_portal uses different config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user