2024-02-04 02:23:40 +01:00
|
|
|
![MPP](https://github.com/multiplayerpiano/mpp-frontend-v1/blob/master/static/128-piano.png?raw=true)
|
|
|
|
|
|
|
|
# mpp-server-dev2
|
|
|
|
|
|
|
|
This is a new MPP server currently in development for [MPP.dev](https://www.multiplayerpiano.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
|
|
|
|
|
2024-02-04 02:26:02 +01:00
|
|
|
0. Simply:
|
2024-02-04 02:23:40 +01:00
|
|
|
```
|
2024-02-04 02:26:02 +01:00
|
|
|
If no bun:
|
2024-02-04 02:23:40 +01:00
|
|
|
|
2024-02-04 02:26:02 +01:00
|
|
|
curl -fsSL https://bun.sh/install | bash
|
2024-02-04 02:23:40 +01:00
|
|
|
|
2024-02-04 02:26:02 +01:00
|
|
|
Do on bash:
|
2024-02-04 02:23:40 +01:00
|
|
|
|
2024-02-04 02:26:42 +01:00
|
|
|
cp .env.template .env
|
2024-02-04 02:26:02 +01:00
|
|
|
bun i
|
|
|
|
bunx prisma generate
|
|
|
|
bunx prisma db push
|
|
|
|
bun .
|
|
|
|
```
|