[DiscordArchive] and to be overly clear, the lua_scripts folder i then make is in the /azerothcore-wotlk directory ri
[DiscordArchive] and to be overly clear, the lua_scripts folder i then make is in the /azerothcore-wotlk directory ri
Archived author: thebigclamp • Posted: 2023-08-16T14:06:08.615000+00:00
Original source
and to be overly clear, the lua_scripts folder i then make is in the /azerothcore-wotlk directory right?
Archived author: mynameismeat • Posted: 2023-08-16T14:07:58.948000+00:00
Original source
explicit is better
in the above example, the lua_scripts dir would be located (on your host machine) at `azerothcore-wotlk/env/docker/bin/lua_scripts`
in the container, it gets mounted to `/azerothcore/env/dist/bin/lua_scripts`
Archived author: thebigclamp • Posted: 2023-08-16T14:08:30.494000+00:00
Original source
ah thanks, yeah meant on the host yes. thanks then i assumed wrongly
Archived author: mynameismeat • Posted: 2023-08-16T14:08:32.690000+00:00
Original source
you can change the folder on your machine to anywhere you want, you just gotta update the left side of the `:`
Archived author: thebigclamp • Posted: 2023-08-16T14:09:04.473000+00:00
Original source
and env then equates to the /azerothcore-wotlk directory on the host right?
Archived author: mynameismeat • Posted: 2023-08-16T14:09:43.101000+00:00
Original source
ie if you want it at `./azerothcore-wotlk/lua_scripts` (on the local machine), it'd look like
```yaml
# [...]
- ./lua_scripts:/azerothcore/env/dist/bin/lua_scripts:ro
```
Archived author: thebigclamp • Posted: 2023-08-16T14:11:00.775000+00:00
Original source
thanks for the patience! seems ot be compiling now
Archived author: mynameismeat • Posted: 2023-08-16T14:11:26.577000+00:00
Original source
nah, there's an `env` directory in the repo, that serves as the PREFIX for the build. the docker build builds to `env/docker`, the "traditional" build builds to `env/dist`, and there's some spaghetti code for docker to pass through `env/docker` from the local to `env/dist`
Archived author: thebigclamp • Posted: 2023-08-16T14:12:19.611000+00:00
Original source
yeah, the translation of the folders is a litle hard to wrap my head around atm. started trying to learn private server since friday
Archived author: mynameismeat • Posted: 2023-08-16T14:12:54.066000+00:00
Original source
it's all good. If you have experience with Docker you'll pretty quickly notice that AzerothCore does a lot of weird stuff with it lol