blob: c1267e70c25ed11ccadd74c231765c96cc48b929 (
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
|
# 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`.
If this is the first time you are using it [READ THIS FIRST](https://www.azerothcore.org/wiki/Database-Setup) and properly configure your `conf/config.sh` file.

|