Skip to content

Commit

Permalink
update guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ruheni committed Oct 26, 2023
1 parent 6825702 commit a15d9ac
Showing 1 changed file with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ To get started with Prisma Accelerate:

1. Sign up for a free [Prisma Data Platform account](https://console.prisma.io/)
1. Create a project
1. Navigate to the project you created and enable Accelerate
1. Generate an Accelerate connection string
1. Navigate to the project you created
1. Enable Accelerate
1. Generate an Accelerate connection string and copy it to your clipboard

## 6. Configure the Accelerate connection string in your project

Expand Down Expand Up @@ -197,15 +198,9 @@ To get started with Prisma Accelerate:

You are now ready to generate a Prisma Client.

## 7. Migrate your schema and generate a Prisma Client
## 7. Generate a Prisma Client

To apply migrations execute the following command:

```
prisma migrate deploy
```

Next, you'll generate Prisma Client that connects to your database through [Prisma Accelerate](/data-platform/accelerate) over HTTP.
Next, generate Prisma Client that connects to your database through [Prisma Accelerate](/data-platform/accelerate) over HTTP.

```terminal
npx prisma generate --no-engine
Expand All @@ -216,7 +211,7 @@ npx prisma generate --no-engine
The `--no-engine` flag is available from Prisma 5.2.0 and later. If you're using an earlier version of Prisma, use the `--accelerate` flag.

```terminal
npx prisma generate --no-engines
npx prisma generate --accelerate
```

</Admonition>
Expand Down Expand Up @@ -257,7 +252,7 @@ export default {
},
})

const { data, info } = await prisma.logs
const { data, info } = await prisma.log
.findMany({
take: 20,
orderBy: {
Expand Down

0 comments on commit a15d9ac

Please sign in to comment.