32 lines
268 B
Markdown
32 lines
268 B
Markdown
## Commands
|
|
|
|
Copy .env.example to .env
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
```
|
|
|
|
Run database on Docker
|
|
|
|
```bash
|
|
docker-compose up
|
|
```
|
|
|
|
Apply Prisma migrations
|
|
|
|
```bash
|
|
yarn migrate
|
|
```
|
|
|
|
Generate Prisma client
|
|
|
|
```bash
|
|
yarn generate
|
|
```
|
|
|
|
Run the server
|
|
|
|
```bash
|
|
yarn dev
|
|
```
|