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
Copy file name to clipboardExpand all lines: generator-prisma-client/deno-deploy/README.md
+3-12Lines changed: 3 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,7 @@ This project showcases how to use the Prisma ORM with Prisma Postgres in an ESM
6
6
7
7
To successfully run the project, you will need the following:
8
8
9
-
- Two **Prisma Postgres** connection strings:
10
-
- Your **Prisma Postgres + Accelerate connection string** (containing your **Prisma API key**) which you can get by enabling Postgres in a project in your [Prisma Data Platform](https://pris.ly/pdp) account. You will use this connection string to run Prisma migrations.
11
-
- Your **Prisma Postgres direct TCP connection string** which you will use with Prisma Client.
12
-
Learn more in the [docs](https://www.prisma.io/docs/postgres/database/direct-connections).
9
+
- A **Prisma Postgres** connection string. You can create a project in your [Prisma Data Platform](https://pris.ly/pdp) account and enable Postgres to obtain one.
13
10
14
11
## Tech Stack
15
12
@@ -47,21 +44,15 @@ Create a `.env` in the root of the project directory:
47
44
touch .env
48
45
```
49
46
50
-
Now, open the `.env` file and set the `DATABASE_URL` environment variables with the values of your connection string and your Prisma Postgres connection string:
47
+
Now, open the `.env` file and set the `DATABASE_URL` environment variable with your Prisma Postgres connection string:
51
48
52
49
```bash
53
50
# .env
54
51
55
-
# Prisma Postgres connection string (used for migrations)
Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres + Accelerate connection string. Notice that the Accelerate connection string has the following structure: `prisma+postgres://accelerate.prisma-data.net/?api_key=<api_key_value>`.
63
-
64
-
Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://<username>:<password>@<host>:<port>/<database>`.
55
+
Replace `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` with your actual Prisma Postgres connection string.
0 commit comments