mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-13 00:28:33 +00:00
sdsd
This commit is contained in:
33
setup.sh
Executable file
33
setup.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
export ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
|
||||
##########################################################################################
|
||||
# USER CONFIG
|
||||
##########################################################################################
|
||||
set -a # export all variables created next
|
||||
source settings.env
|
||||
set +a # stop exporting
|
||||
|
||||
##########################################################################################
|
||||
# INTERNAL CONFIG
|
||||
##########################################################################################
|
||||
export AUTHSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-authserver"
|
||||
export WORLDSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-worldserver"
|
||||
export AUTHSERVER_SESSION="auth-session"
|
||||
export WORLDSERVER_SESSION="world-session"
|
||||
export MYSQL_ROOT_PASSWORD="rootpassword"
|
||||
export MYSQL_USER="acore"
|
||||
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 first run TYPE 'source ~/.bashrc' !!!!!!!!"
|
||||
source ${ROOT_DIR}/script/menu-print.sh
|
||||
echo "## After first run TYPE 'source ~/.bashrc' !!!!!!!!"
|
||||
echo "###########################################################################################"
|
||||
Reference in New Issue
Block a user