Update missing direction creation (#1146)

Update the doc for missing userData for the database.
    
<!-- This is an auto-generated description by cubic. -->
---

## Summary by cubic
Add a setup step in CONTRIBUTING.md to create the userData directory
required by the database. This prevents migration commands from failing
on fresh installs.

<!-- End of auto-generated description by cubic. -->
This commit is contained in:
Toluwap
2025-09-02 05:24:46 +01:00
committed by GitHub
parent 2ffbbbca8f
commit 78b69ae508

View File

@@ -20,9 +20,23 @@ Dyad is an Electron app.
npm install npm install
``` ```
**Create the userData directory (required for database)**
```sh
# Unix/macOS/Linux:
mkdir -p userData
# Windows PowerShell (run only if folder doesn't exist):
mkdir userData
# Windows Command Prompt (run only if folder doesn't exist):
md userData
```
**Apply migrations:** **Apply migrations:**
```sh ```sh
# Generate and apply database migrations
npm run db:generate npm run db:generate
npm run db:push npm run db:push
``` ```