1
0
Fork 0
mirror of https://github.com/Saeraphinx/BadBeatMods.git synced 2026-08-07 06:49:25 -05:00
A game-agnostic* mod hosting platform.
  • TypeScript 99.2%
  • JavaScript 0.6%
  • Dockerfile 0.2%
Find a file
Saera 6836179167
Some checks failed
Build for Docker / Docker Build (push) Has been cancelled
Lint & Test / Lint (push) Has been cancelled
update eslint config
2026-03-11 09:13:50 -05:00
.github/workflows update ci 2025-04-11 11:42:16 -05:00
.vscode move to OAS 3.0 2025-01-23 16:08:26 -06:00
assets redo icons & readme 2024-12-28 19:22:31 -06:00
src update eslint config 2026-03-11 09:13:50 -05:00
test add testing utility 2025-06-29 00:14:10 +01:00
.eslintrc.json linter work 2025-03-12 10:33:19 -05:00
.gitignore dev 2024-12-08 01:07:44 -06:00
changes.md further fixes & updates 2025-04-24 12:08:51 -05:00
docker-compose.yml update config 2025-01-29 08:28:15 -06:00
Dockerfile update packages & add sqlite3 build support 2025-02-18 13:30:12 -06:00
eslint.config.mjs update eslint config 2026-03-11 09:13:50 -05:00
info.md Update info.md 2025-03-02 01:37:37 -06:00
LICENSE.txt add MIT license and update regex for rate limiting 2024-12-26 19:56:23 -06:00
package-lock.json migrate eslint config 2026-03-11 09:09:22 -05:00
package.json migrate eslint config 2026-03-11 09:09:22 -05:00
README.md move to using a router pt 1 2024-12-31 14:52:42 -06:00
tsconfig.json update to esm modules 2025-03-03 21:55:06 -06:00
vitest.config.ts rework tests + fix some issues discovered by testss 2025-03-21 16:08:48 -05:00

BadBeatMods A game-agnostic mod hosting platform.

Running the Server

Running the server is (mostly) easy to do:

  1. Clone the Repo.
  2. Run npm i to install packages.
  3. Run npm run build_start to build & start the server.

The default location for anything that needs to presist is a folder called storage. This will includes the database and user uploads. This should be automatically created when the server starts. You can find the config file at storage/config.json.

If you are using the docker image, the storage directory will be located at /app/storage. The port is set to 5001 by default.

Config

See src/shared/Config.ts for more info regarding the config file. This file is created when the server starts if it does not exist. The config file should also update itself if any new options get added. It will backup the old config file and create a new one with the new options.

Optionally, you can use environment variables to set the config. All environment vairables are present in the docker-compose.yml file located at the root of the repo. See the config class above.