From 196df1abdefa610b954ac9f7841afbf93882ef79 Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Fri, 7 Apr 2023 14:31:14 +0700 Subject: [PATCH] added init-db script --- README.md | 6 ++++++ package.json | 1 + 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 586e7641..fb8cb536 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,12 @@ Install dependencies pnpm install ``` +Generate prisma database + +``` +pnpm init-db +``` + Run development window ``` diff --git a/package.json b/package.json index 1278e87c..074be1fa 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dev": "next dev -p 1420", "build": "next build && next export -o dist", "tauri": "tauri", + "init-db": "cd src-tauri/ && cargo prisma generate", "prepare": "husky install" }, "lint-staged": {