mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
2.9 KiB
2.9 KiB
#Installation
-
Since TrinityCore uses boost and our file loader uses boost file system, you need boost filesystem. On windows this should be available with the default package, but on linux you may need to install it:
sudo apt-get install libboost-filesystem-dev -
Get the core:
Eluna TrinityCore WotLK
Eluna TrinityCore Cataclysm
Eluna cMaNGOS Classic
Eluna cMaNGOS TBC
Eluna cMaNGOS WotLK -
Open
git bashand do
git submodule init
git submodule update
If you really dont get how to use git bash (and do try!), you can navigate to the LuaEngine folder and clone the eluna repository there. This is not suggested though. -
Compile the core normally:
TrinityCore
cMaNGOS
#Updating
- When updating you should take up the
commit hashyou are on, just in case. You can get it from git withgit logfor example. You should take note what are the newest SQL updates insql/updates/*folders. - Use
git pullto get the newest source changes. - Then use
git submodule initgit submodule updateto update Eluna from github. - Try compiling and if you encounter errors, report to support or issues.
You can revert back to the old sources by using
git reset --hard 000000git submodule update, where 000000 is thecommit hash. - If the compiling was successful, you should update your database if needed.
You can do this by running all new SQL files in
sql/updates/*. You need to see your notes from before pulling the updates or you can use the old commit hash to see on github what were the last files you ran. An easy way is to just look at the created/modified date on the files.