Unpacks data from the CMaNGOS classic server for addon developers. In Alpha.
- A full CMaNGOS classic DB.
- Optionally a localization.
- Python3.
- PyMySQL. With
pipyou can install it like thisIt is recommended to add thepip install -r requirements.txt--useroption or use virtual environment.
- Copy the file
config.py.distand rename the copy toconfig.py.config.pyis listed in the gitignore file, so one doesn't accidentally publish ones MySQL credentials.
- Apply your MySQL information in the
config.pyfile. - Follow one of the extraction methods outlined below.
Invoke python -m main. This will start extraction and printing, then quit.
- Start
idleorpythonin 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.