diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2022-11-07 13:24:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-07 13:24:12 +0100 |
| commit | 6b9d88f5980c48a0ed1acb4d6216b857604e9dd4 (patch) | |
| tree | 4bf01f02b22a4ff09e03f15926d825ef3e1a6715 /docs | |
| parent | 35c48a612473f5599a4a47ce1a64653b4a00b497 (diff) | |
| download | wiki-6b9d88f5980c48a0ed1acb4d6216b857604e9dd4.tar.gz wiki-6b9d88f5980c48a0ed1acb4d6216b857604e9dd4.tar.bz2 wiki-6b9d88f5980c48a0ed1acb4d6216b857604e9dd4.zip | |
Improvements to the Docker guides after last changes
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/install-with-docker.md | 35 | ||||
| -rw-r--r-- | docs/installation.md | 12 |
2 files changed, 21 insertions, 26 deletions
diff --git a/docs/install-with-docker.md b/docs/install-with-docker.md index 9328e8c..df5b839 100644 --- a/docs/install-with-docker.md +++ b/docs/install-with-docker.md @@ -61,39 +61,34 @@ git clone https://github.com/azerothcore/azerothcore-wotlk.git Now go into the main directory using `cd azerothcore-wotlk`. **All commands will have to be run inside this folder**. -Before we install let's get a copy of our own config.sh from the distribution -``` -cp conf/dist/config.sh conf/config.sh -``` - ### Installation Inside your terminal (if you use Windows, use git bash), run the following commands inside the azerothcore-wotlk folder -NOTE: the following procedure uses our acore.sh dashboard, however, these commands are a shortcut of the docker compose ones. +**IMPORTANT**: the following procedure uses our acore.sh dashboard, however, these commands are a shortcut of the docker compose ones. you can check the docker compose commands used in background by running `./acore.sh docker --help` and read the description of each command -**1) Download the client data:** - -``` -./acore.sh docker client-data -``` - -NOTE: This command should be executed only at the first installation and when there's a new version of the client-data available -**2) Compile AzerothCore:** +**1) Compile AzerothCore:** ``` ./acore.sh docker build ``` -It will build docker images, compile the core and import needed SQL files automatically! +It will build docker images and compile the core automatically! This may take a while. Meanwhile you can go and drink a glass of wine :wine_glass: **NOTE For dev:** if you are working with code and you need a fast way to compile your binaries, the command above -can be a bit overkill for you because you probably do not need to rebuild images or import SQL if you have not changed them. +can be a bit overkill for you because you probably do not need to rebuild images. Therefore, we suggest to use one of the following solution instead: -* `./acore.sh docker build:compiler` it only builds the dev image and compiles the sources without importing sql. -* `./acore.sh docker dev:build` it's similar to the previous command, but it uses the dev-container which uses volumes instead of the container. It can be faster on some configurations. +* `./acore.sh docker dev:build` it only builds the dev image and compiles the sources. + +**2) Download the client data:** + +``` +./acore.sh docker client-data +``` + +**IMPORTANT**: This command should be executed only at the first installation and when there's a new version of the client-data available **3) Run the containers** @@ -160,11 +155,11 @@ First of all, you just need to use the `git` tool to update your repository by r Then you can just run the following command: -`./acore.sh docker build`: to rebuild the images and generate new binaries. Moreover, it will also import latest database changes. +`./acore.sh docker build`: to rebuild the images and generate new binaries. NOTE: We do not update so often the client data, but when it happens you can run the following command: -`./acore.sh client-data`: it will download the new version of the client data if there's a new version available +`./acore.sh docker client-data`: it will download the new version of the client data if there's a new version available ### How to run the worldserver with GDB diff --git a/docs/installation.md b/docs/installation.md index 6e4d846..9bff03a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -14,19 +14,19 @@ redirect_from: "/Installation" There are several ways to install AzerothCore, you need to choose **ONE**. -### Full (supported, recommended) +### Install from sources (supported, recommended) -These are the officially-supported and complete ways of installing AzerothCore, for any purposes. +These are the officially-supported and complete ways of installing AzerothCore, for any purposes (Windows, Linux, macOS). -- [Azerothcore Classic Setup (Windows, Linux, macOS)](#azerothcore-classic-setup) - the traditional way of installing AzerothCore. Battle-tested, recommended for all operating systems for any purposes. This process gives more awareness of how AzerothCore is structured. See below in this page. +- [Azerothcore Classic Setup](#azerothcore-classic-setup) - the traditional way of installing AzerothCore. Battle-tested, recommended for all operating systems for any purposes. This process gives more awareness of how AzerothCore is structured. See below in this page. - [Docker setup](install-with-docker.md) - an installation process based on Docker. Docker knowledge recommended. Limited support. -- [AzerothCore Bash Dashboard setup](ac-dashboard-core-installation.md) - simplest way of installing AzerothCore, recommended for **Linux** and **Mac OS** systems for both local development and production. Currently not recommended for Windows. +- [AzerothCore Bash Dashboard setup](ac-dashboard-core-installation.md) - simplest way of installing AzerothCore, recommended for both local development and production. -### Minimal (supported, limited usage) +### Install from pre-compiled images (supported, limited usage) -- [Docker pre-compiled setup](https://www.azerothcore.org/acore-docker/) - an extremely simple way of installing AzerothCore. Suitable only for bug triaging, bug reporting or domestic usage. +- [Docker pre-compiled setup](https://www.azerothcore.org/acore-docker/) - an extremely simple way of installing AzerothCore. Currently, you can't install c++ modules, only Eluna scripts. Particularly suitable for bug triaging, bug reporting or domestic usage. ### Others (unsupported) |
