diff options
| author | Duncan Steenburgh <duncan.steenburgh@gmail.com> | 2021-06-12 08:43:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-12 15:43:40 +0200 |
| commit | 0ac05039eeb97944c955a5888958f18b4f0323e8 (patch) | |
| tree | 9b222d9e6d2036489fa727b6b136bd7758c91b8c /docs | |
| parent | f309cf79bbb032a0686b7d04feb8fec18e600a84 (diff) | |
| download | wiki-0ac05039eeb97944c955a5888958f18b4f0323e8.tar.gz wiki-0ac05039eeb97944c955a5888958f18b4f0323e8.tar.bz2 wiki-0ac05039eeb97944c955a5888958f18b4f0323e8.zip | |
chore: Add step to upgrade to latest release before running DB Assembler tool (#523)
* Fix broken 'Database Setup' link
The page name was changed, but the link was not updated
* Add step to verify that you're on the latest release
* Use relative link instead of direct link to `database-installation` guide
* Reference 'upgrading to 3.0.0' guide instead of linking to github releases page
Per Kitznu, linking to the github releases page can cause confusion as people will try to download Azeroth Core from Github, which is definitely not what we want
* Fix typo
* Fix broken link: Add `.md` to the end
Oops 😬
* Update docs/Update.md
* Update Update.md
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/update.md | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/update.md b/docs/update.md index d11a3b6..d988cfb 100644 --- a/docs/update.md +++ b/docs/update.md @@ -4,7 +4,17 @@ redirect_from: "/Update" # How to update AzerothCore to the latest stable version -## 1) Update your local sources +## Verify that you're on the latest release + +1. Type `.server debug` in your console. + + 1. If it outputs `Using World DB: ACDB 335.4-dev` then you can proceed to [Update your local source](#update-your-local-source). + + 1. If it outputs anything else for `Using World DB:` then you first need to follow [this guide on updating to latest master](upgrade-from-pre-3.0.0-to-latest-master.md). + +We'd also highly recommend following the #announcements channel on the AzerothCore discord so you'll know about any other important changes to AzerothCore. + +## Update your local source Move to your AzerothCore sources directory. @@ -12,13 +22,13 @@ Move to your AzerothCore sources directory. - Otherwise, if you cloned AzerothCore directly from the main repo, you have to `git pull` to update it. -## 2) Recompile +## 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 +## Update the Database **If you are updating your production environment, BACKUP your databases BEFORE updating them!** @@ -26,6 +36,6 @@ You need to import the **new** sql update files (located at https://github.com/a 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. +If this is the first time you are using it [READ THIS FIRST](database-installation.md) and properly configure your `conf/config.sh` file.  |
