blob: 0643e8aaa3e0ae45b4e7d917b3540b9c8c6d133b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# How to update AzerothCore to the latest stable version
## 1) Update your local sources
Move to your AzerothCore sources directory.
- If you have your own fork of AzerothCore, you need to [sync it](Syncing-your-fork).
- Otherwise, if you cloned AzerothCore directly from the main repo, you have to `git pull` to update it.
## 2) Recompile
Compile again your sources, this step is the same as the [Compilation step during Installation](Installation#3-compiling), but generally you can skip the CMake part unless you're adding new modules.
For example, in Linux/Mac you just have to `cd build;` and run `make -j 8; make install`. Of course you can change the value of the `-j` paramether according to your CPU.
## 3) Update the Database
**If you are updating your production environment, BACKUP your databases BEFORE updating them!**
You need to import the **new** sql update files (located at https://github.com/azerothcore/azerothcore-wotlk/tree/master/data/sql/updates) to each database.
To automate this process you can use the db-assembler bash script `bash apps/db_assembler/db_assembler.sh`.

IMPORTANT: remember to properly set your `conf/config.sh` file before using the `db_assembler.sh` script
|