Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 760 Bytes

File metadata and controls

65 lines (44 loc) · 760 Bytes

Megumi interface

Getting Started

pnpm i
pnpm exec prisma generate

Prepare .env

cp .env.sample .env

Then, set each values in .env file. You can create NEXTAUTH_SECRET by running the command below.

openssl rand -base64 32

Run development server

pnpm dev

Test

Create test env file

cp .env.sample .env.test

Run test

pnpm test:backend

Run specific tests

pnpm test:backend -t="no session"

Docker

docker compose build
docker compose up
docker compose exec -it app bash
docker compose exec -it db bash

S3 bucket on local environment using LocalStack

http://localhost:4566/localstack-bucket