canuse / E-dama

Frontend of auto-white-reimu,a mahjong record analyzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend for auto-white-reimu

An UI interface for Ledenel/auto-white-reimu, which can check your mahjong records on tenhou.net and give advices.

No python environment is needed to execute the binary files, but python 3.7 or later is recommended.

Website

We also provided an website mjlog.canuse.xyz as a demo.

Note that this is only a demonstrating website, so DO NOT upload too many tasks at a time.

Executable Files

binary

You can simply download and execute the binary files like E-white-reimu_*_win64.exe from Releases and then execute it.

The latest version is V0.1.

Python file

You can also download the python files from Releases, however, you need to install several packages first.

  1. Install auto-white-reimu. See here for more instructions.
  2. Install pyqt5, sip, PyQt5-stubs using PIP

Deploy website

The source code of the website above is located in the EReimuWeb folder.

To deploy the website, you need to: 0. Clone the source code

  1. Install auto-white-reimu, django, apschduler, django-apschduler using PIP
  2. Get the setting file from here
  3. Set the django secret key (setting.py, line 23). You can see instructions here.
  4. Set and migrate your own database
  5. Modify the templates as you wish. They are located in EReimuWeb/whiteReimu/templates
  6. Config the webserver like Nginx. The only thing need to be mentioned is that we use folder EReimuWeb/whiteReimu/Records to store reports, which were treated as static files. An example of Nginx config is
location /history/{
alias /path/to/record/floder/;
}
location /{
//uwsgi settings
}

About

Frontend of auto-white-reimu,a mahjong record analyzer

License:MIT License


Languages

Language:Python 72.2%Language:HTML 27.8%