Go to file
Hri7566 4cc3040180 Add clear_chat 2024-07-09 03:21:12 -04:00
.vscode old changes 2024-01-06 04:15:27 -05:00
config Add kickban, improve command line 2024-02-01 08:25:24 -05:00
prisma Update prisma 2024-02-01 08:40:59 -05:00
public@6d894d19cd Implement X-Forwarded-For 2024-02-01 12:36:00 -05:00
src Add clear_chat 2024-07-09 03:21:12 -04: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 User flags 2023-09-07 18:21:21 -04:00
.gitmodules Rename frontend submodule 2023-09-07 16:58:21 -04:00
.prettierrc big boi 2023-03-31 10:43:24 -04:00
LICENSE Create LICENSE 2023-09-06 20:03:55 -04:00
README.md Update README.md 2024-01-22 03:21:53 -05:00
bun.lockb Fix joining problems 2024-07-09 02:20:46 -04:00
package.json Move readline to commands and add something like jinja 2024-01-26 03:56:15 -05:00
tsconfig.json Add channels and migrate to bun 2023-09-09 05:06:27 -04:00

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 .