Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 623 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 623 Bytes

Development

Install dependencies

bun install

Run bun prepare to initialize husky.

Database setup

Spin up postgres

If you already have a postgres running, skip this step.

Populate .dockerenv file. You can use .dockerenv.example.

bun db:start

To stop the database run bun db:stop

Prisma setup

bun prisma migrate dev
bun prisma generate

Run dev server

Make sure to populate all environment variables from .env.example. Then link the .env file in clients folder.

cd packages/client && ln -s ../../.env; cd -
bun dev