Unverified 提交 78b69ae5 authored 作者: Toluwap's avatar Toluwap 提交者: GitHub

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. -->
上级 2ffbbbca
...@@ -20,9 +20,23 @@ Dyad is an Electron app. ...@@ -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
``` ```
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论