read
This commit is contained in:
parent
73d3f42664
commit
3a8981c5b5
52
README.md
52
README.md
|
@ -10,45 +10,17 @@ The commit history includes BopItFreak's server because this server is (debatabl
|
|||
|
||||
## How to run
|
||||
|
||||
0. Install bun
|
||||
|
||||
0. Simply:
|
||||
```
|
||||
$ curl -fsSL https://bun.sh/install | bash
|
||||
```
|
||||
|
||||
1. Setup Git submodules
|
||||
|
||||
```
|
||||
$ git submodule update --init --recursive
|
||||
```
|
||||
|
||||
2. Configure
|
||||
|
||||
- Copy environment variables
|
||||
|
||||
```
|
||||
$ 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 .
|
||||
If no bun:
|
||||
|
||||
curl -fsSL https://bun.sh/install | bash
|
||||
cp .env.template .env
|
||||
|
||||
Do on bash:
|
||||
|
||||
bun i
|
||||
bunx prisma generate
|
||||
bunx prisma db push
|
||||
bun .
|
||||
```
|
Loading…
Reference in New Issue