File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 11# Quick Setup Locally
22
3- * Docker
3+ ## Option 1: Using Docker
44
5- ```
5+ ``` bash
66docker compose watch
77```
88
9- OR
10-
11- > Install the Dependencies
9+ ## Option 2: Manual Setup
1210
13- ```
11+ ### 1. Install Dependencies
12+ ``` bash
1413cd daily-code
1514yarn install
1615```
1716
18- > Setup DB
19- For Mac and Linux users
20- ```
17+ ### 2. Setup Database
18+
19+ #### For Mac and Linux users
20+ ``` bash
2121cd packages/db
2222chmod +x ./setupDB.sh
2323./setupDB.sh
2424```
2525
26- For Windows users (using docker to start db locally)
27- ```
26+ #### For Windows users
27+ ``` bash
2828cd packages/db
2929copy .env.example .env
3030docker-compose up
3131
32- now, write the connection string in DATABASE_URL
32+ # Configure the database connection
33+ # Add your connection string to DATABASE_URL
3334
3435yarn prisma migrate dev
3536yarn prisma db seed
3637```
3738
38- > Run locally
39-
40- ```
39+ ### 3. Run Locally
40+ ``` bash
4141cd ../..
4242yarn run dev
4343```
You can’t perform that action at this time.
0 commit comments