mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 15:19:50 +03:00
feat: add bootstrap script
This commit is contained in:
Executable
+14
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user