Update setup.sh

This commit is contained in:
bash
2024-08-12 21:52:56 +02:00
committed by GitHub
parent d3f7a386d6
commit 3ef5eefad4

View File

@@ -9,10 +9,8 @@ export REALM_NAME="azerothcore.org"
export AH_BOT_MIN_ITEMS="25000"
export AH_BOT_MAX_ITEMS="30000"
##########################################################################################
# INTERNAL CONFIGS
# https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist
# INTERNAL CONFIG
##########################################################################################
export AUTHSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-authserver"
export WORLDSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-worldserver"
@@ -24,4 +22,22 @@ export MYSQL_PASSWORD="acore"
export MYSQL_DATABASE="acore_auth"
export DATAPATH="${ROOT_DIR}/_server/azerothcore/env/dist/bin"
##########################################################################################
# Import system vars and aliases into ~/.bashrc
##########################################################################################
source ${ROOT_DIR}/script/0_bashrc.sh
echo " "
echo "###########################################################################################"
echo "## After the first install or changes either reboot or TYPE 'source ~/.bashrc' !!!!!!!!"
echo "###########################################################################################"
echo "## After the above you can use the following commands:"
echo "### install - Download the source source-code"
echo "### update - Updates source-code to latest version"
echo "### build - Builds the server based on source-code"
echo "### compile - Compiles the code based on the build server"
echo "### config - Applies the server configration"
echo "### start - starts auth and world in tmux sessions server"
echo "### stop - stops all sessions"
echo "### wow - logon world-server (tmux) session"
echo "### auth - logon auth-server (tmux) session"
echo "###########################################################################################"