forked from Hri7566/mpp-server-dev2
Hri7566 0ece65e940 | ||
---|---|---|
.vscode | ||
config | ||
prisma | ||
public@0f21e39066 | ||
src | ||
.env.template | ||
.eslintrc.js | ||
.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
-
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
-
Run
$ bun .