diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2021-06-12 14:50:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-12 14:50:58 +0200 |
| commit | f309cf79bbb032a0686b7d04feb8fec18e600a84 (patch) | |
| tree | 9ea7db08f0698ec9af213941307c83246c7b68a3 /docs/update.md | |
| parent | b2610fad21012673061f5af786b022c96625cc26 (diff) | |
| download | wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.tar.gz wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.tar.bz2 wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.zip | |
chore: file naming standard (#517)
* A
* file naming standard
Fixes #491
* Revert "A"
This reverts commit 1c225fed753554098069597a2bbcbe08213b76a1.
* rename
* Revert "rename"
This reverts commit 65fd916faf8530ce258cc2b475c93971468680fe.
* Revert "file naming standard"
This reverts commit 6ca5a703a9e9d59f9c773029e4c04bfd012b6abb.
* bye
* Hi
* Create the-staging-branch.md
* 1
* Delete how-to-create-a-PR.md
* Create how-to-create-a-pr.md
* werafgt
* Update the-modular-structure.md
* wef
Diffstat (limited to 'docs/update.md')
| -rw-r--r-- | docs/update.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/update.md b/docs/update.md new file mode 100644 index 0000000..d11a3b6 --- /dev/null +++ b/docs/update.md @@ -0,0 +1,31 @@ +--- +redirect_from: "/Update" +--- + +# 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. + + |
