global settings

This commit is contained in:
olli 2024-05-30 17:38:31 +02:00
parent 572182a333
commit 0815a65566

19
dabo/dabo-prep.sh Normal file
View File

@ -0,0 +1,19 @@
# functions
BASEPATH=/dabo/htdocs
for bashfunc in $(find ${BASEPATH}/../functions -type f -name "*.sh")
do
. "$bashfunc"
done
. /etc/bash/gaboshlib.include
# vars
export LANGUAGE="en_US"
g_tries=13
g_tries_delay=23
g_wget_opts="--timeout 10 --tries=2 --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'"
# prepare directories
mkdir -p ${BASEPATH}/botdata/asset-histories
mkdir -p ${BASEPATH}/botdata/trade-histories
cd ${BASEPATH}/botdata