Skip to content

Commit

Permalink
continue ppg tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasburk committed Oct 22, 2024
1 parent befa3e6 commit e4667b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ pagination_next: getting-started/setup-prisma/start-from-scratch/relational-data
slugSwitch: /getting-started/setup-prisma/start-from-scratch/relational-databases-
---



Learn how to create a new Node.js or TypeScript project from scratch by connecting Prisma ORM to your database and generating a Prisma Client for database access. The following tutorial introduces you to the [Prisma CLI](/orm/tools/prisma-cli), [Prisma Client](/orm/prisma-client), and [Prisma Migrate](/orm/prisma-migrate).



## Prerequisites

In order to successfully complete this guide, you need:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pagination_next: getting-started/setup-prisma/start-from-scratch/relational-data
slugSwitch: /getting-started/setup-prisma/start-from-scratch/relational-databases-
---

Learn how to create a new Node.js or TypeScript project from scratch by setting up a Prisma Postgres database, connecting Prisma ORM to it and generating a Prisma Client for database access. The following tutorial introduces you to the [Prisma CLI](/orm/tools/prisma-cli), [Prisma Client](/orm/prisma-client), and [Prisma Migrate](/orm/prisma-migrate).
Learn how to create a new Node.js or TypeScript project with a Prisma Postgres database from scratch, connecting Prisma ORM to the database and generating a Prisma Client for database access. The following tutorial introduces you to the [Prisma CLI](/orm/tools/prisma-cli), [Prisma Client](/orm/prisma-client), and [Prisma Migrate](/orm/prisma-migrate).

It covers the following workflows:

Expand Down Expand Up @@ -42,11 +42,13 @@ Follow these steps to create your Prisma Postgres database:

At this point, you'll be redirected to the **Dashboard** where you will need to wait for a few seconds while the status of your database changes from **`PROVISIONING`**, to **`ACTIVATING`** to **`CONNECTED`**.

Once the green **`CONNECTED`** label appears, your database is ready to use!
Once the green **`CONNECTED`** label appears, your database is ready to use.

## Create project setup
Copy the connection string you see in the Console UI, since you will need it later. Then you can move on the next section.

As a first step, create a project directory and navigate into it:
## 2. Create project setup

Create a project directory and navigate into it:

```terminal copy
mkdir hello-prisma
Expand All @@ -68,12 +70,6 @@ Next, initialize TypeScript:
npx tsc --init
```

<Admonition>

See [installation instructions](/orm/tools/prisma-cli#installation) to learn how to install Prisma using a different package manager.

</Admonition>

You can now invoke the Prisma CLI by prefixing it with `npx`:

```terminal
Expand Down

0 comments on commit e4667b6

Please sign in to comment.