mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
docs: improve README.md (#35)
This commit is contained in:
44
README.md
44
README.md
@@ -1,23 +1,39 @@
|
||||
#  AzerothCore
|
||||
## mod-LuaEngine
|
||||
#  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)
|
||||
|
||||
a Eluna module for AzerothCore.
|
||||
An [Eluna](https://github.com/ElunaLuaEngine/Eluna) module for AzerothCore.
|
||||
|
||||
How to install:
|
||||
## How to install:
|
||||
|
||||
1. download or clone this module:
|
||||
> [download zip file.](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip)
|
||||
> or clone `git clone https://github.com/azerothcore/mod-eluna-lua-engine.git`
|
||||
2. Put it in the modules folder of the Azerothcore.
|
||||
3. download or clone the ELUNA core file:
|
||||
> [download zip file.](https://github.com/ElunaLuaEngine/Eluna/archive/master.zip)
|
||||
> or clone `git clone https://github.com/ElunaLuaEngine/Eluna.git .`
|
||||
4. Put it in the lua module folder:mod-LuaEngine/LuaEngine. (If you downloaded the zip-file you'll want to 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.)
|
||||
5. cmake again
|
||||
6. rebuild.
|
||||
### 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/ElunaLuaEngine/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/)
|
||||
|
||||
Reference in New Issue
Block a user