This commit is contained in:
Daniel 2024-02-03 22:26:02 -03:00
parent 73d3f42664
commit 3a8981c5b5
1 changed files with 10 additions and 38 deletions

View File

@ -10,45 +10,17 @@ The commit history includes BopItFreak's server because this server is (debatabl
## How to run ## How to run
0. Install bun 0. Simply:
```
$ curl -fsSL https://bun.sh/install | bash
``` ```
If no bun:
1. Setup Git submodules curl -fsSL https://bun.sh/install | bash
cp .env.template .env
``` Do on bash:
$ git submodule update --init --recursive
```
2. Configure bun i
bunx prisma generate
- Copy environment variables bunx prisma db push
bun .
``` ```
$ cp .env.template .env
```
Edit `.env` to your needs.
- Edit the files in the `config` folder to match your needs
3. Install packages
```
$ bun i
```
4. Setup database
```
$ bunx prisma generate
$ bunx prisma db push
```
5. Run
```
$ bun .
```