diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ee3a547..c12111d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,9 +20,23 @@ Dyad is an Electron app. 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:** ```sh +# Generate and apply database migrations npm run db:generate npm run db:push ```