Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 566 Bytes

README.md

File metadata and controls

43 lines (33 loc) · 566 Bytes

Quick Setup Locally

Option 1: Using Docker

docker compose watch

Option 2: Manual Setup

1. Install Dependencies

cd daily-code
yarn install

2. Setup Database

For Mac and Linux users

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

For Windows users

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

# Configure the database connection
# Add your connection string to DATABASE_URL

yarn prisma migrate dev
yarn prisma db seed

3. Run Locally

cd ../..
yarn run dev