Platform for interconnection with automate game managment for mahjong-portal.
Written in pure Java and Akka library (https://akka.io/)
-
Install JDK 17+ (https://openjdk.org/install/)
-
Build YagiMotel
./gradlew clean build
- Create bin folder
mkdir bin
- Unzip distribution to bin folder
unzip build/distributions/YagiMotel.zip -d bin
- Copy shell script with JVM OPTS
cp deploy/prod_export.sh bin/YagiMotel/bin/
- Create config folder
mkdir bin/YagiMotel/bin/config
- Copy config example to config folder
cp config/example.config.yaml bin/YagiMotel/bin/config/
- Move to YagiMotel bin folder
cd bin/YagiMotel/bin/
- Edit
config/config.yaml
- Run YagiMotel bot!
. prod_export.sh && ./YagiMotel