Files
zkldi_Tachi/_scripts/bootstrap.sh
T
2022-07-04 02:15:43 +01:00

14 lines
437 B
Bash
Executable File

#! /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