Go to file
Hri7566 7c40e0a288 Update README.md 2023-09-12 01:59:54 -04:00
config Add note and time messages 2023-09-12 01:55:15 -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 Add note and time messages 2023-09-12 01:55:15 -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
LICENSE Create LICENSE 2023-09-06 20:03:55 -04:00
README.md Update README.md 2023-09-12 01:59:54 -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

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