You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting started: eliminate expand/collapse layout shifts in the hero
- GetStartedTabs: both tab panels share a fixed height with internal
scrolling, so AI Prompt <-> CLI switching no longer shifts the page;
the prompt is always visible (no View prompt toggle) with the
click-to-copy affordance kept, and the caption is a static footer
- AgentPrompt: expanded body is bounded (max-h + scroll) so View
expands by a fixed amount instead of the full prompt height
- getting-started: note that --env .env is per-deployment and point to
project env vars for persistence (CodeRabbit follow-up)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: apps/docs/content/docs/(index)/getting-started.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,8 @@ Once your app runs locally, [Prisma Compute](/compute) (currently in Public Beta
41
41
42
42
1. Sign in with `npx @prisma/cli@latest auth login`.
43
43
2. Run `npx @prisma/cli@latest app deploy` from your app directory to get a live URL, adding `--env .env` so environment variables like `DATABASE_URL` reach the deployment.
44
-
3. Keep deploying from the CLI, or [connect GitHub](/compute/github) to deploy on push.
44
+
3.`--env .env` applies to that one deployment. Persist variables for future deploys with `npx @prisma/cli@latest project env add DATABASE_URL --role production`; see [environment variables](/compute/environment-variables).
45
+
4. Keep deploying from the CLI, or [connect GitHub](/compute/github) to deploy on push.
45
46
46
47
The [deploy guide](/prisma-compute/deploy) covers build settings, frameworks, and troubleshooting.
0 commit comments