diff --git a/_scripts/bootstrap.sh b/_scripts/bootstrap.sh new file mode 100755 index 000000000..b1342d841 --- /dev/null +++ b/_scripts/bootstrap.sh @@ -0,0 +1,14 @@ +#! /bin/bash + +set -eo pipefail + +# https://stackoverflow.com/questions/59895/how-can-i-get-the-directory-where-a-bash-script-is-located-from-within-the-scrip +# if you actually think bash is a good programming language you are +# *straight up delusional* +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +cd "$SCRIPT_DIR"; +cd ..; + +cp client/.example.env client/.env +cp server/test.conf.json5 server/conf.json5 \ No newline at end of file diff --git a/client/.example.env b/client/.example.env new file mode 100644 index 000000000..7d0cc037c --- /dev/null +++ b/client/.example.env @@ -0,0 +1,9 @@ +BROWSER="none" +REACT_APP_TCHIC_MODE="omni" +REACT_APP_SERVER_URL="https://127.0.0.1:8080" +REACT_APP_CDN_URL="https://127.0.0.1:8080/cdn" +REACT_APP_IMGSCORE_URL="" +REACT_APP_EAG_CLIENT_ID="" +REACT_APP_MIN_CLIENT_ID="" +REACT_APP_FLO_CLIENT_ID="" +REACT_APP_RULES_READ_TIME=30 \ No newline at end of file