Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 438 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 438 Bytes

Quick Setup Locally

Install the Dependencies

cd daily-code
yarn install

Copy the env example

cd  packages/db
cp .env.example .env

Update the .env file with the database url

Migrate and the Database

npx prisma migrate dev
npx prisma db seed

If previous commands fail, try these; Otherwise, skip.

yarn prisma migrate dev
yarn prisma db seed

Run locally

cd ../..
yarn run dev