diff options
| author | FrancescoBorzi <borzifrancesco@gmail.com> | 2019-06-10 16:19:25 +0200 |
|---|---|---|
| committer | FrancescoBorzi <borzifrancesco@gmail.com> | 2019-06-10 16:19:25 +0200 |
| commit | 5b87b0737316de1550e0ac638f879424089c05cc (patch) | |
| tree | 2b70f1cdd48e7eb63b714efe396cc163760ef32e /docs/database-only-quick-setup.md | |
| parent | 1c97e177916e09a65314bf6a766fece4f9f913e7 (diff) | |
| download | wiki-5b87b0737316de1550e0ac638f879424089c05cc.tar.gz wiki-5b87b0737316de1550e0ac638f879424089c05cc.tar.bz2 wiki-5b87b0737316de1550e0ac638f879424089c05cc.zip | |
DB quick setup
Diffstat (limited to 'docs/database-only-quick-setup.md')
| -rw-r--r-- | docs/database-only-quick-setup.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/database-only-quick-setup.md b/docs/database-only-quick-setup.md new file mode 100644 index 0000000..b5acf85 --- /dev/null +++ b/docs/database-only-quick-setup.md @@ -0,0 +1,49 @@ +# AC Database-only quick setup + +This tutorial explains how to quickly setup an instance of the AC Database. + + +### Introduction + +Sometimes you need an AzerothCore DB up and running without having to setup the whole server, +for example to use applications like [Keira3](https://github.com/azerothcore/Keira3) or similar. + +With this setup, you do **not** have to install MySQL server in your system. + +### Requirements + +The only requirements are git and Docker (including `docker-compose`). +You can find the links to setup Docker for your operating system in the "Software requirements" category of +[this page](http://www.azerothcore.org/wiki/Install-with-Docker#setup). + +### Clone the AC sources + +You need to clone the AC sources somewhere in your machine and cd into it: + +``` +git clone https://github.com/azerothcore/azerothcore-wotlk.git +cd azerothcore-wotlk; + +``` + +### How to quickly spin up an AzerothCore Database instance + +You can easily create an instance of MySQL server containing the AC database using: + +``` +docker-compose up ac-database +``` + +Alternatively, you can pass the `-d` parameter to run this command in detach mode: + +``` +docker-compose up -id ac-database +``` + +The default password will be `password` and the default port will be `3306`. + +If you want to chance those values, run the following: + +``` +DB_EXTERNAL_PORT=9000 DB_ROOT_PASSWORD=root docker-compose up ac-database +``` |
