mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
55 lines
2.5 KiB
Markdown
55 lines
2.5 KiB
Markdown
#  mod-eluna-lua-engine for AzerothCore
|
|
- Latest build status with azerothcore: [](https://github.com/azerothcore/mod-eluna-lua-engine)
|
|
|
|
[english](README.md) | [中文说明](README_CN.md) | [Español](README_ES.md)
|
|
|
|
An [Eluna](https://github.com/ElunaLuaEngine/Eluna) module for AzerothCore.
|
|
|
|
## How to install:
|
|
|
|
### 1) Download the sources
|
|
|
|
You can get the sources either using git (recommended) or downloading them manually.
|
|
|
|
#### download with git (recommended)
|
|
|
|
1. open a terminal inside your `azerothcore-wotlk` folder
|
|
2. go inside the **modules** folder: `cd modules`
|
|
3. download the module sources using:
|
|
```
|
|
git clone https://github.com/azerothcore/mod-eluna-lua-engine.git
|
|
```
|
|
4. go inside the **mod-eluna-lua-engine** folder: `cd mod-eluna-lua-engine`
|
|
5. download the Eluna sources using `git submodule update --init`
|
|
|
|
Optional: if you need to update Eluna to the latest version, you can `cd LuaEngine` and run `git pull` from there.
|
|
|
|
#### download manually
|
|
|
|
1. download [mod-eluna-lua-engine](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip)
|
|
2. extract it move the folder **mod-eluna-lua-engine** inside the **modules** folder of your azerothcore-wotlk sources
|
|
3. download [Eluna](https://github.com/Azerothcore/Eluna/archive/master.zip)
|
|
4. extract it and move all the files inside the `Eluna-master` folder into the `mod-eluna-lua-engine/LuaEngine` folder. `LuaEngine.h` needs to be directly under `mod-eluna-lua-engine/LuaEngine` without any extra sub-folders.
|
|
|
|
### 2) Build
|
|
|
|
You need to run the cmake again and and rebuild the project.
|
|
|
|
Eluna API :
|
|
[http://elunaluaengine.github.io/](http://elunaluaengine.github.io/)
|
|
|
|
## How to update the Eluna version (for project mainteners)
|
|
|
|
1) `cd` into `mod-eluna-lua-engine`
|
|
2) `git checkout master`
|
|
3) cd `LuaEngine`
|
|
4) `git checkout master`
|
|
5) `git pull`
|
|
6) `cd ..` so you get back to `mod-eluna-lua-engine`
|
|
7) `git checkout -b some-new-unique-branch-name`
|
|
8) `git add LuaEngine`
|
|
9) `git commit -m "feat: update Eluna version"`
|
|
10) `git push`
|
|
11) The terminal will tell you something like `fatal: The current branch some-new-unique-branch-name has no upstream branch.` and suggest the command to use, for example: `git push --set-upstream origin some-new-unique-branch-name`
|
|
12) Open [the repo on Github](https://github.com/azerothcore/mod-eluna-lua-engine) and create a new PR
|