Skip to content

Commit

Permalink
Merge pull request mfts#724 from rishipatel9/AddScript
Browse files Browse the repository at this point in the history
Added Script for Prisma
  • Loading branch information
mfts authored Oct 11, 2024
2 parents d3707dd + 2b8262d commit 44b2bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ cp .env.example .env
### 4. Initialize the database

```shell
npx prisma generate
npx prisma migrate deploy
npm run dev:prisma
```

### 5. Run the dev server
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"email": "email dev --dir ./components/emails --port 3001",
"trigger:dev": "npx @trigger.dev/cli@latest dev",
"stripe:webhook": "pkgx stripe listen --forward-to localhost:3000/api/stripe/webhook",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,mdx}\""
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,mdx}\"",
"dev:prisma":"npx prisma generate && npx prisma migrate deploy"
},
"dependencies": {
"@aws-sdk/client-lambda": "^3.658.1",
Expand Down

0 comments on commit 44b2bfa

Please sign in to comment.