Unreal Tournament stats website for the [https://github.com/rxut/UTStatsLite](utstats-lite mutator).
- MYSQL Server
- Node.js 18.17 or later.
- Extract the contents of the archive into a folder.
- Open a terminal in the folder you extracted to.
- Run the command npm install to install all dependencies.
- Open config.mjs and change the settings to connect to your mysql server.
- Run the command node install.mjs to create the database and other settings.
- Open package.json in the main directory.
- Find the "scripts" block.
- Find the line
"start": "next start",
. - To change the port simply add -p portnumber after next start, for example
"start": "next start -p 8080",
will run the website on port 8080. - You can also do the same with the dev mode
"dev": "next dev",
-> "dev": "next dev -p 8080",
- Open a terminal in the folder you installed to.
- Run the command npm run build to build the website.
- Once the website has been built, run the command npm run start
- Open http://localhost:3000 with your browser to see the result.
- To Create an admin account go to http://localhost:3000/register, the first account is auto activated, every following account needs to be activated.
- To Login go to http://localhost:3000/login
- To go to the admin area go to http://localhost:3000/admin
- In the admin you can then add S/FTP servers to the importer list.
- Open a terminal in the folder you installed to.
- Run the command node importer.mjs.
- If you want to insert all your ftp settings from node utstats-2 you need to create a backup with the node utstats 2 admin tool.
- Open the archive.
- Place nstats_ftp.json in the main directory of your node utstats lite folder.
- Run the command node nutsftptolite.mjs
- You should now see the settings added in the admin area.