luanvdw / pulse-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a Pulse-ready postgres database on railway.app

Deploy on Railway

Pulse is currently in early access. Please sign up here or join our discord and reach out to a developer advocate.

Once the template is deployed

  • Go into your project on the railway dashboard
  • Click on the Postgres database
  • Navigate to the Settings tab
  • Click the button that says Restart Database

Then feel free to delete the service that was created with the template. It should be called db-setup-service

  • Click on the db-setup-service service
  • Navigate to the Settings tab
  • Scroll down and click the Delete Service from All Environments button

How to connect Pulse to your database

Link to Pulse docs

  • Go to your prisma data platform dashboard
  • Click on the project you want to add Pulse to (or create a new one)
  • Click on Configure Pulse
  • Paste in the connection string from the railway dashboard

The connection string can be found by clicking on the Postgres database and navigating to the Connect tab, then clicking the copy icon next to DATABASE_URL

Once you have done that you will need to wait for Pusle to establish the connection. This can take a few minutes.

Now you can follow this part of the Pulse documentation to get started using Pulse in your projects.

About

License:MIT License


Languages

Language:TypeScript 100.0%