Skip to content

Commit

Permalink
Update content/400-pulse/250-database-setup/300-railway.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Nikolas <[email protected]>
  • Loading branch information
ankur-arch and nikolasburk authored Mar 21, 2024
1 parent a6b053b commit f398c1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/400-pulse/250-database-setup/300-railway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ toc: true

## Setup with template: "Prisma Pulse DB Only"

This section provides step-by-step instructions for setting up a Pulse-ready PostgreSQL database using the Railway template called: [Prisma Pulse DB Only](https://railway.app/template/pulse-pg).

The template consists of two [services](https://docs.railway.app/reference/services):
- **Postgres**: A PostgreSQL database that you'll be able to use with Prisma Pulse after going through the setup instructions.
- **restart-and-delete-me**: This service contains a [script](https://github.com/prisma/pulse-railway-pg-config/blob/main/config-db.ts) that's executed once and configures the PostgreSQL database to make it usable with Prisma Pulse. Once the script has been executed, the instructions will tell you to delete this service since it won't be needed any more.

1. Deploy the [template](https://railway.app/template/pulse-pg) on Railway.
2. Click on the service called **restart-db-then-delete-me**.
3. You will see a list of deployments under the **Deployments** tab.
Expand Down

0 comments on commit f398c1e

Please sign in to comment.