Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
dd6154c
Add compute page first stage
carlagn Apr 30, 2026
d7c463f
Update children
carlagn Apr 30, 2026
5621589
Update flex positioning
carlagn Apr 30, 2026
bba9660
Update how-it-works
carlagn Apr 30, 2026
674de46
Update flex distance
carlagn Apr 30, 2026
121e62d
Add globe hero to compute page
carlagn May 4, 2026
72bced2
remove import
carlagn May 4, 2026
021de20
Improve fade in
carlagn May 4, 2026
9551710
Update cobeglobe performance
carlagn May 4, 2026
2f94a9a
Add network component
carlagn May 4, 2026
25ec2b9
Add network globe and fix build
carlagn May 4, 2026
288fc1a
Push no networkglobe
carlagn May 4, 2026
42963ad
remove both globes
carlagn May 4, 2026
6d8405d
Add back globes and fix issues*
carlagn May 4, 2026
64d5e61
Remove hero globe
carlagn May 4, 2026
d297c0e
Fix globe hero
carlagn May 4, 2026
ccd5ec9
Update location/zone legend
carlagn May 4, 2026
a822db8
Update how-it-works icons
carlagn May 4, 2026
a6bf6e3
Optimise animations
carlagn May 4, 2026
7c6e1a0
Update how it works
carlagn May 4, 2026
d690cde
Add dynamic updates
carlagn May 4, 2026
d3bb903
Update live pulse
carlagn May 4, 2026
eadbbf3
Update font families
carlagn May 4, 2026
567d8f0
update type
carlagn May 4, 2026
eb14522
feat(docs): add compute docs content
mhartington May 4, 2026
fe37564
docs(compue): fix builds
mhartington May 4, 2026
8e9bf0f
docs(compue): fix builds
mhartington May 4, 2026
73fde4c
Update fonts
carlagn May 5, 2026
29afa36
Pretty text on title
carlagn May 5, 2026
57434ef
Update icons
carlagn May 5, 2026
95786ef
Update icons
carlagn May 5, 2026
3ba1aad
Update fonts for <h2> and eyebrow
carlagn May 5, 2026
c6f84a5
Update margin for 02/features
carlagn May 5, 2026
9af3564
Update navbar
carlagn May 5, 2026
9ab7d7b
Update font-size for text 4xl and 5xl
carlagn May 5, 2026
1c29864
feat(docs): add Netlify and Vercel Compute migration guides
aidankmcalister May 5, 2026
d68d391
feat(site): homepage rework
mhartington May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions apps/blog/src/app/(blog)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export function baseOptions() {
desc: "Explore and manipulate your data",
},
{
icon: "fa-regular fa-bolt",
text: "Accelerate",
desc: "Make your database global",
url: "https://www.prisma.io/accelerate",
text: "Compute",
url: "/compute",
desc: "Deploy TypeScript to production",
icon: "fa-regular fa-microchip",
},
],
},
Expand Down Expand Up @@ -105,7 +105,10 @@ export default function Layout({ children }: { children: React.ReactNode }) {
return (
<ThemeProvider defaultTheme="system" storageKey="theme">
<UtmPersistence />
<NavigationWrapper links={baseOptions().links} utm={{ source: "website", medium: "blog" }} />
<NavigationWrapper
links={baseOptions().links}
utm={{ source: "website", medium: "blog" }}
/>
{children}
<Footer />
</ThemeProvider>
Expand Down
115 changes: 115 additions & 0 deletions apps/docs/content/docs/cli/compute/deploy.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
title: deploy
description: Build and deploy your application to Prisma Compute
metaTitle: prisma compute deploy | Build and Deploy Your Application
metaDescription: 'Build and deploy your application to Prisma Compute with prisma compute deploy.'
url: /cli/compute/deploy
---

The `prisma compute deploy` command builds your application and deploys it to Prisma Compute.

Use this command after authenticating and configuring your project locally.

## Usage

```bash
prisma compute deploy [options]
```

## Options

| Option | Description |
| ------ | ----------- |
| `--project=<project>` | Project ID |
| `--service=<service>` | Compute service ID |
| `--path=<path>` | App directory. Default: `.` |
| `--entrypoint=<entrypoint>` | File to run at startup, relative to `--path`. Falls back to `package.json` `main` |
| `--service-name=<service_name>` | Name for a new compute service |
| `--region=<region>` | Region for a new compute service |
| `--build-type=<build_type>` | Build strategy: `auto`, `bun`, or `nextjs`. Default: `auto` |
| `--skip-build` | Skip build and deploy a pre-built artifact. Default: `false` |
| `--env=<env>` | Environment variables. Accepts `KEY=VALUE`, comma-separated assignments, or a path to a `.env` file. Repeatable |
| `--unset-env=<unset_env>` | Remove environment variables. Repeat `--unset-env KEY` for each variable |
| `--http-port=<http_port>` | HTTP port your application listens on. Default: `8080` |
| `--timeout=<timeout>` | Poll timeout in seconds. Default: `120` |
| `--poll-interval=<poll_interval>` | Poll interval in milliseconds. Default: `1000` |
| `--skip-promote` | Deploy the new version without promoting it to the service endpoint. Default: `false` |
| `--destroy-old-version` | Delete the old version after stopping it. Default: `false` |
| `--json` | Output JSON. Default: `false` |

## Notes

- Authenticate with `prisma compute login`, or set `PRISMA_API_TOKEN` in CI before deploying.
- Use `--service` to deploy to an existing service, or `--service-name` and `--region` when creating a new one.
- Repeat `--env` to pass multiple environment variables, or point it at a `.env` file.
- Use `--skip-promote` if you want to deploy a version without moving traffic to it yet.

## Common workflow

1. Authenticate with `prisma compute login`, or set `PRISMA_API_TOKEN` in CI.
2. Run `prisma compute deploy` from your project directory.
3. Inspect the deployed version with `prisma compute versions`.
4. Stream logs with `prisma compute logs`.

## Examples

### Deploy the current project

```npm
npx prisma compute deploy
```

### Deploy to an existing service

```npm
npx prisma compute deploy --service=<service-id>
```

### Create a new service while deploying

```npm
npx prisma compute deploy \
--service-name=my-app \
--region=iad
```

### Deploy with environment variables

```npm
npx prisma compute deploy \
--env DATABASE_URL=postgresql://example \
--env NODE_ENV=production
```

You can also pass comma-separated values or a `.env` file path:

```npm
npx prisma compute deploy --env 'DB_URL="a,b",NODE_ENV=production'
npx prisma compute deploy --env .env.production
```

### Deploy without promoting the new version

```npm
npx prisma compute deploy --skip-promote
```

### Deploy a pre-built artifact

```npm
npx prisma compute deploy --skip-build --path=./dist
```

### Deploy from CI with a token

```bash
export PRISMA_API_TOKEN=your-token
npx prisma compute deploy
```

## See also

- [Prisma Compute quickstart](/compute)
- [`prisma compute login`](/cli/compute/login)
- [`prisma compute logs`](/cli/compute/logs)
- [`prisma compute versions`](/cli/compute/versions)
51 changes: 51 additions & 0 deletions apps/docs/content/docs/cli/compute/env.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: env
description: Manage environment variables for Prisma Compute
metaTitle: prisma compute env | Manage Compute Environment Variables
metaDescription: 'Manage environment variables for Prisma Compute with prisma compute env.'
url: /cli/compute/env
---

The `prisma compute env` command group manages environment variables for Prisma Compute deployments.

Use it to update configuration and secrets outside the initial deploy flow.

## Usage

```bash
prisma compute env [command] [options]
```

## Subcommands

| Command | Description |
| ------- | ----------- |
| `prisma compute env update` | Update environment variables and create a new version |

Use `prisma compute env <command> --help` for more information about a specific command.

## Notes

- Updating environment variables creates a new version.
- Use this command to change configuration and secrets after an initial deploy.
- See the broader Compute environment variable guide for accepted value formats and deployment behavior.

## Examples

### Show help for environment variable commands

```npm
npx prisma compute env --help
```

### Get help for the update command

```npm
npx prisma compute env update --help
```

## See also

- [Prisma Compute environment variables](/compute/environment-variables)
- [`prisma compute deploy`](/cli/compute/deploy)
- [`prisma compute versions`](/cli/compute/versions)
51 changes: 51 additions & 0 deletions apps/docs/content/docs/cli/compute/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: compute
description: Build, deploy, and manage applications on Prisma Compute
url: /cli/compute
metaTitle: prisma compute | Prisma Compute Commands
metaDescription: 'Build, deploy, and manage applications on Prisma Compute with prisma compute.'
---

The `prisma compute` command group provides commands for authenticating, deploying, and managing applications on Prisma Compute.

## Usage

```bash
prisma compute [command] [options]
```

## Global options

| Option | Description |
| -------------- | -------------------- |
| `-h`, `--help` | Display help message |

## Subcommands

| Command | Description |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [`prisma compute login`](/cli/compute/login) | Authenticate with Prisma via the interactive browser flow |
| [`prisma compute logout`](/cli/compute/logout) | Clear stored credentials |
| [`prisma compute deploy`](/cli/compute/deploy) | Build and deploy your application |
| [`prisma compute logs`](/cli/compute/logs) | Stream logs for a Compute version |
| [`prisma compute env`](/cli/compute/env) | Manage environment variables |
| [`prisma compute projects`](/cli/compute/projects) | Manage Prisma Compute projects |
| [`prisma compute services`](/cli/compute/services) | Manage Compute services |
| [`prisma compute versions`](/cli/compute/versions) | Manage versions, including inspecting, promoting, starting, stopping, and deleting deployed versions |

## Examples

```npm
# Authenticate before your first deploy
npx prisma compute login

# Build and deploy the current app
npx prisma compute deploy

# Stream logs for a version
npx prisma compute logs <version-id>
```

## See also

- [Prisma Compute overview](/compute)
43 changes: 43 additions & 0 deletions apps/docs/content/docs/cli/compute/login.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: login
description: Authenticate with Prisma for Prisma Compute commands
metaTitle: prisma compute login | Authenticate with Prisma
metaDescription: 'Authenticate with Prisma via an interactive browser flow for prisma compute commands, or use PRISMA_API_TOKEN for non-interactive environments.'
url: /cli/compute/login
---

The `prisma compute login` command authenticates with Prisma using an interactive browser flow.

For non-interactive environments such as CI or scripts, set `PRISMA_API_TOKEN` instead of running an interactive login flow.

## Usage

```bash
prisma compute login [options]
```

## Options

| Option | Description |
| -------------- | -------------------- |
| `-h`, `--help` | Display help message |

## Examples

### Start the interactive login flow

```npm
npx prisma compute login
```

### Use a token in CI

```bash
export PRISMA_API_TOKEN=your-token
npx prisma compute deploy
```

## See also

- [`prisma compute logout`](/cli/compute/logout)
- [`prisma compute deploy`](/cli/compute/deploy)
31 changes: 31 additions & 0 deletions apps/docs/content/docs/cli/compute/logout.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: logout
description: Clear stored Prisma credentials
metaTitle: prisma compute logout | Clear Stored Credentials
metaDescription: 'Clear stored Prisma credentials used by prisma compute commands.'
url: /cli/compute/logout
---

The `prisma compute logout` command clears stored Prisma credentials from your local environment.

## Usage

```bash
prisma compute logout [options]
```

## Options

| Option | Description |
| -------------- | -------------------- |
| `-h`, `--help` | Display help message |

## Examples

```npm
npx prisma compute logout
```

## See also

- [`prisma compute login`](/cli/compute/login)
46 changes: 46 additions & 0 deletions apps/docs/content/docs/cli/compute/logs.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: logs
description: Stream logs for a Prisma Compute version
metaTitle: prisma compute logs | Stream Compute Version Logs
metaDescription: 'Stream logs for a Prisma Compute version with prisma compute logs.'
url: /cli/compute/logs
---

The `prisma compute logs` command streams logs for a Prisma Compute version.

Use it to inspect startup output, runtime logs, and recent activity for a deployed version.

## Usage

```bash
prisma compute logs <version-id> [options]
```

## Options

| Option | Description |
| ---------------- | ------------------------------------ |
| `-h`, `--help` | Display help message |
| `--tail` | Limit the number of recent log lines |
| `--from-start` | Start reading from the beginning |
| `--cursor` | Resume from a log cursor |
| `--json` | Output logs as JSON |

## Examples

### Stream logs for a version

```npm
npx prisma compute logs <version-id>
```

### Tail recent logs as JSON

```npm
npx prisma compute logs <version-id> --tail 200 --json
```

## See also

- [Prisma Compute logs](/compute/logs)
- [`prisma compute versions`](/cli/compute/versions)
15 changes: 15 additions & 0 deletions apps/docs/content/docs/cli/compute/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "compute",
"defaultOpen": true,
"pages": [
"index",
"login",
"logout",
"deploy",
"logs",
"env",
"projects",
"services",
"versions"
]
}
Loading
Loading