From 3ef5eefad4f078cd4a665fbc91aff053d69a3ab2 Mon Sep 17 00:00:00 2001 From: bash <31279994+hermensbas@users.noreply.github.com> Date: Mon, 12 Aug 2024 21:52:56 +0200 Subject: [PATCH] Update setup.sh --- setup.sh | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index dfa1d7f..24074eb 100755 --- a/setup.sh +++ b/setup.sh @@ -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 "###########################################################################################"