Unpacks data from the CMaNGOS classic server for addon developers. In Alpha.
- A full CMaNGOS classic DB.
- Optionally a localization.
- Python3.
- PyMySQL. With
pip
you can install it like thisIt is recommended to add thepip install -r requirements.txt
--user
option or use virtual environment.
- Copy the file
config.py.dist
and rename the copy toconfig.py
.config.py
is listed in the gitignore file, so one doesn't accidentally publish ones MySQL credentials.
- Apply your MySQL information in the
config.py
file. - Follow one of the extraction methods outlined below.
Invoke python -m main
. This will start extraction and printing, then quit.
- Start
idle
orpython
in sqlua's root directory. - Enter the command
from main import *
.
See main.py
for the functions you can use.
Go to the base dir and run ./webgui.sh
.
Alternatively run the command you find inside it directly.
Then go to http://127.0.0.1:5000.