forked from Hri7566/mpp-server-dev2
1.0 KiB
1.0 KiB
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
-
Install bun
$ curl -fsSL https://bun.sh/install | bash
-
Setup Git submodules
$ git submodule update --init --recursive
-
Configure
- Copy environment variables
$ cp .env.template .env
Edit
.env
to your needs.- Edit the files in the
config
folder to match your needs
-
Install packages
$ bun i
-
Setup database
$ bunx prisma generate $ bunx prisma db push
-
Build
$ bun run build
-
Run
$ bun start
Development
$ bun dev