You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
audio processing may require [lame](https://sourceforge.net/projects/lame/files/lame/3.99/) or [vorbis-tools](https://www.xiph.org/downloads/) (which may require libvorbis (which may require libogg))
38
36
39
-
40
37
#### Highly Recommended
41
-
+ setting the following configuration values on your TrinityCore server will greatly increase the accuracy of spawn points
38
+
39
+
- setting the following configuration values on your TrinityCore server will greatly increase the accuracy of spawn points
Ensure that the account you are going to use has **full** access on the database AoWoW is going to occupy and ideally only **read** access on the world database you are going to reference.
54
54
Import files 01 - 03 from `setup/sql/` in order into the AoWoW database `mysql -p {your-db-here} < setup/sql/01-db_structure.sql`, etc.
55
55
56
-
#### 3. Server created files
56
+
### 3. Server created files
57
+
57
58
See to it, that the web server is able to write the following directories and their children. If they are missing, the setup will create them with appropriate permissions
58
-
*`cache/`
59
-
*`config/`
60
-
*`static/download/`
61
-
*`static/widgets/`
62
-
*`static/js/`
63
-
*`static/uploads/`
64
-
*`static/images/wow/`
65
-
*`datasets/`
66
-
67
-
#### 4. Extract the client archives (MPQs)
68
-
Extract the following directories from the client archives into `setup/mpqdata/`, while maintaining patch order (base mpq -> patch-mpq: 1 -> 9 -> A -> Z). The required paths are scattered across the archives. Overwrite older files if asked to.
59
+
60
+
-`cache/`
61
+
-`config/`
62
+
-`static/download/`
63
+
-`static/widgets/`
64
+
-`static/js/`
65
+
-`static/uploads/`
66
+
-`static/images/wow/`
67
+
-`datasets/`
68
+
69
+
### 4. Extract the client archives (MPQs)
70
+
71
+
Extract the following directories from the client archives into `setup/mpqdata/`,
72
+
while maintaining patch order (base mpq -> patch-mpq: 1 -> 9 -> A -> Z).
73
+
The required paths are scattered across the archives. Overwrite older files if asked to.
@@ -87,16 +110,86 @@ Extract the following directories from the client archives into `setup/mpqdata/`
87
110
> \<localeCode>/Interface/Glues/Loadingscreens/
88
111
> \<localeCode>/Interface/Glues/Credits/
89
112
90
-
#### 5. Reencode the audio files
113
+
### 5. Reencode the audio files
114
+
91
115
WAV-files need to be reencoded as `ogg/vorbis` and some MP3s may identify themselves as `application/octet-stream` instead of `audio/mpeg`.
92
116
*[example for WIN](https://gist.github.com/Sarjuuk/d77b203f7b71d191509afddabad5fc9f)
93
117
*[example for \*nix](https://gist.github.com/Sarjuuk/1f05ef2affe49a7e7ca0fad7b01c081d)
94
118
95
-
#### 6. Run the initial setup from the CLI
96
-
`php aowow --setup`.
119
+
### 6. Run the initial setup from the CLI
120
+
121
+
```sh
122
+
php aowow --setup
123
+
```
124
+
97
125
This should guide you through with minimal input required from your end, but will take some time though, especially compiling the zone-images. Use it to familiarize yourself with the other functions this setup has. Yes, I'm dead serious: *Go read the code!* It will help you understand how to configure AoWoW and keep it in sync with your world database.
98
126
When you've created your admin account you are done.
99
127
128
+
## Run with Docker
129
+
130
+
Configure settings for first time:
131
+
132
+
1. Create environment settings files:
133
+
```sh
134
+
cp .env.aowow.dist .env.aowow
135
+
cp .env.mysql.dist .env.mysql
136
+
```
137
+
Typically, `.env.mysql` is not required for production, because database server is hosted somewhere outside the docker.
138
+
139
+
> [!NOTE]
140
+
> You don't need to change `config/config.php` file, it will be overwritten with a special file, which
141
+
> takes required credentials from the environment. See `docker/aowow/src/config/config.php` for details.
142
+
2. Edit `.env.*` files according to your environment, or leave as-is if environment is development.
143
+
3. Optionally: setup path to mpqdata for `aowow` service in `compose.dev.yaml` file:
144
+
Replace this part of code:
145
+
```yaml
146
+
# fixme optionally: change to directory with extracted mpq data
0 commit comments