Skip to content

Commit 25dbc36

Browse files
ArthurGambyArthur Gamby
andauthored
feat(docs): add quick section to blog after the prompt (#7221)
Co-authored-by: Arthur Gamby <[email protected]>
1 parent 64f84d3 commit 25dbc36

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

content/900-ai/prompts/astro.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,3 +260,29 @@ When asked about Prisma + Astro implementation, you MUST:
260260

261261
Remember: There are NO EXCEPTIONS to these rules.
262262
````
263+
264+
## Running the application
265+
266+
Get your application running locally in three quick steps:
267+
268+
**1. Generate the Prisma Client:**
269+
270+
```terminal
271+
npx prisma generate --no-engine
272+
```
273+
274+
**2. View your database in Prisma Studio:**
275+
276+
```terminal
277+
npm run db:studio
278+
```
279+
280+
Prisma Studio opens at `localhost:5555` where you can inspect your `User` table and see the test user stored in your database.
281+
282+
**3. Start your Next.js development server:**
283+
284+
```terminal
285+
npm run dev
286+
```
287+
288+
Visit `http://localhost:3000` to see your Next.js application live, displaying your first user fetched directly from your Prisma Postgres database!

0 commit comments

Comments
 (0)