Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
docs: upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
planetscale-actions-bot committed Apr 11, 2024
1 parent 4d8c0a0 commit f3b2316
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions docs/tutorials/deploy-to-netlify.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ This doc is intended for users that are manually storing a connection string in

1. In your [PlanetScale dashboard](https://app.planetscale.com), click on the database you want to connect to.
2. Click "**Connect**".
3. Select the framework you're using from the "**Connect with**" dropdown. This will give you the exact environment variable names you need for your selected framework. If your framework is not listed, choose "General".
3. Create a new password. Make sure to copy the password, as you'll only be shown it once.
4. Select the framework you're using from the "**Select your language or framework**" section. This will give you the exact environment variable names you need for your selected framework. If your framework is not listed, choose "Other".

![PlanetScale dashboard connect modal {priority}](/assets/docs/tutorials/deploy-to-netlify/prisma-2.png)
![PlanetScale dashboard connect modal {priority}](/assets/docs/tutorials/deploy-to-netlify/prisma.png)

4. If the password is blurred, click "New password" to generate new credentials.
5. Keep this page open, as you'll need to copy these to Netlify momentarily.
6. If you navigate away from the page, and can no longer access the password, create a new password by repeating steps 1-5.

### Copy environment variables to Netlify

Expand Down
7 changes: 4 additions & 3 deletions docs/tutorials/deploy-to-vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ It will cover two options:

1. In your [PlanetScale dashboard](https://app.planetscale.com), click on the database you want to connect to.
2. Click "**Connect**".
3. Select the framework you're using from the "**Connect with**" dropdown. This will give you the exact environment variable names you need for your selected framework. If your framework is not listed, choose "General".
3. Create a new password. Make sure to copy the password, as you'll only be shown it once.
4. Select the framework you're using from the "**Select your language or framework**" section. This will give you the exact environment variable names you need for your selected framework. If your framework is not listed, choose "Other".

![PlanetScale dashboard connect modal {priority}](/assets/docs/tutorials/deploy-to-vercel/prisma-2.png)
![PlanetScale dashboard connect modal {priority}](/assets/docs/tutorials/deploy-to-vercel/prisma.png)

4. If the password is blurred, click "New password" to generate new credentials.
5. Keep this page open, as you'll need to copy these to Vercel momentarily.
6. If you navigate away from the page, and can no longer access the password, create a new password by repeating steps 1-5.

### Copy environment variables to Vercel

Expand Down

0 comments on commit f3b2316

Please sign in to comment.