Go to file
Hri7566 e9407a5fee Update README.md 2023-09-11 00:57:20 -04:00
config Change default colors to original 2023-09-11 00:29:26 -04:00
prisma Prisma user flags default value 2023-09-07 18:22:01 -04:00
public@af660e9834 Subcommit 2023-09-09 01:35:48 -04:00
src Attempt to fix race condition on channel join 2023-09-11 00:55:26 -04:00
.env.template Fix dotenv template 2023-09-11 00:50:10 -04: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 2023-09-11 00:57:20 -04:00
bun.lockb Add channels and migrate to bun 2023-09-09 05:06:27 -04:00
package.json Add channels and migrate to bun 2023-09-09 05:06:27 -04:00
tsconfig.json Add channels and migrate to bun 2023-09-09 05:06:27 -04:00

README.md

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. Build

    $ bun run build
    
  7. Run

    $ bun start
    

Development

$ bun dev