forked from Hri7566/mpp-server-dev2
Hri7566 ef86aaddb0 | ||
---|---|---|
config | ||
prisma | ||
public@af660e9834 | ||
src | ||
.env.template | ||
.gitignore | ||
.gitmodules | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
bun.lockb | ||
package.json | ||
tsconfig.json |
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
-
Install bun
$ curl -fsSL https://bun.sh/install | bash
-
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