Go to file
Hri7566 6b1e979e7d Init unit tests 2024-01-26 05:59:39 -05:00
.vscode old changes 2024-01-06 04:15:27 -05:00
config Add ch ratelimit, readline commands, various debugging 2024-01-23 01:19:51 -05:00
prisma
public@0f21e39066 Move readline to commands and add something like jinja 2024-01-26 03:56:15 -05:00
src Init unit tests 2024-01-26 05:59:39 -05:00
test Init unit tests 2024-01-26 05:59:39 -05:00
.env.template Fix dotenv template 2023-09-11 00:50:10 -04:00
.eslintrc.js Add ch ratelimit, readline commands, various debugging 2024-01-23 01:19:51 -05:00
.gitignore
.gitmodules
.prettierrc
LICENSE
README.md Update README.md 2024-01-22 03:21:53 -05:00
bun.lockb Move readline to commands and add something like jinja 2024-01-26 03:56:15 -05:00
package.json Move readline to commands and add something like jinja 2024-01-26 03:56:15 -05:00
tsconfig.json

README.md

MPP

mpp-server-dev2

This is a new MPP server currently in development for MPP.dev. The original server is old and it needs a new one.

This server uses Bun.

The commit history includes BopItFreak's server because this server is (debatably) a heavy reimplementation of my fork of it.

How to run

  1. Install bun

    $ curl -fsSL https://bun.sh/install | bash
    
  2. Setup Git submodules

    $ git submodule update --init --recursive
    
  3. Configure

    • Copy environment variables
    $ cp .env.template .env
    

    Edit .env to your needs.

    • Edit the files in the config folder to match your needs
  4. Install packages

    $ bun i
    
  5. Setup database

    $ bunx prisma generate
    $ bunx prisma db push
    
  6. Run

    $ bun .