Merge branch 'master' of github.com:Hri7566/mpp-server-dev2

This commit is contained in:
Hri7566 2023-09-11 00:55:40 -04:00
commit 2ce29e329f
2 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
DATABASE_URL="file:./db.sqlite" DATABASE_URL="file:./db.sqlite"
PORT=8443 PORT=8443
ADMINPASS= ADMIN_PASS=
SALT= SALT=

View File

@ -14,7 +14,13 @@ The commit history includes BopItFreak's server because this server is (debatabl
$ curl -fsSL https://bun.sh/install | bash $ curl -fsSL https://bun.sh/install | bash
``` ```
1. Configure 1. Setup Git submodules
```
$ git submodule update --init
```
2. Configure
- Copy environment variables - Copy environment variables
@ -26,26 +32,26 @@ The commit history includes BopItFreak's server because this server is (debatabl
- Edit the files in the `config` folder to match your needs - Edit the files in the `config` folder to match your needs
2. Install packages 3. Install packages
``` ```
$ bun i $ bun i
``` ```
3. Setup database 4. Setup database
``` ```
$ bunx prisma generate $ bunx prisma generate
$ bunx prisma db push $ bunx prisma db push
``` ```
4. Build 5. Build
``` ```
$ bun run build $ bun run build
``` ```
5. Run 6. Run
``` ```
$ bun start $ bun start