main branchnpm install.env.example to .env and fill out all necessary information in the .env file.npm startchmod -R 777 trackschmod -R 777 userdatacp docker-compose.yml.example docker-compose.ymldocker-compose.ymldocker compose up -dSee documentation for more info!
Minicontrol migrate tool uses in-memory sqlite database to process the MySQL data. This means not all MySQL features works, its adviced to remove transactions and creating indexes from the .sql dumpfile. With your favourite text editor, remove these lines, if exists:
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
-- keep everything between
-- and remove ending COMMIT:
COMMIT;
You also need to remove all ALTER TABLE instructions from the .sql dump
Example:
-- remove ALTER TABLE until semicolon ;
ALTER TABLE `rs_times`
ADD PRIMARY KEY (`ID`),
ADD KEY `playerID` (`playerID`,`challengeID`),
ADD KEY `challengeID` (`challengeID`),
ADD KEY `score` (`score`);
mysqldump -u root -p databasename > xaseco.sqlxaseco.sql to the main folder of MINIcontroltsx --env-file=.env xaseco.ts xaseco.sqlmysqldump -u root -p databasename > pyplanet.sqlpyplanet.sql to the main folder of MINIcontroltsx --env-file=.env pyplanet.ts pyplanet.sqltsx --env-file=.env trakman.tsSee the documentation in documentation/devs to read more about the core concept of MINIcontrol and how plugins work.
If you want to contribute changes or plugins to MINIcontrol, please open up an Issue first before you start working on things, so we can discuss the details of implementation, etc.
We will not respond to random pull requests.
docker build -t minicontrol:test -f docker/Dockerfile . Content type
Image
Digest
sha256:9f43ebda5…
Size
126.1 MB
Last updated
over 1 year ago
docker pull evoesports/minicontrol