Skip to content

spc-28/daily-code

 
 

Repository files navigation

Quick Setup Locally

  • Docker
docker compose watch
OR

Install the Dependencies

cd daily-code
yarn install

Setup DB For Mac and Linux users

cd packages/db
chmod +x ./setupDB.sh
./setupDB.sh

For Windows users (using docker to start db locally)

cd packages/db
copy .env.example .env
docker-compose up

now, write the connection string in DATABASE_URL

yarn prisma migrate dev
yarn prisma db seed

Run locally

cd ../..
yarn run dev

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.9%
  • JavaScript 1.9%
  • Other 2.2%