How can I make it such that PR environments fork my development environment instead
salieflewis
PROOP

a year ago

In addition to production would also work.

Solved

14 Replies

salieflewis
PROOP

a year ago

fbc83639-6b3a-48e2-8aa0-9c016d399bc7


a year ago

Change this to development

1390055255231828028


a year ago

You can select a base environment in your project settings


salieflewis
PROOP

a year ago

What if I wanted to do both?


a year ago

You want PR environments to be created for both your development and production environments?


salieflewis
PROOP

a year ago

Potentially yes


a year ago

You would need two projects for that.


salieflewis
PROOP

a year ago

Ok


salieflewis
PROOP

a year ago

Also is there a way that the data from my pg of the base environment, gets duplicated into the new PR environment?


a year ago

Only if you made your own seeders for that


salieflewis
PROOP

a year ago

What does that mean?


salieflewis
PROOP

a year ago

Are there any docs on how to do it?


a year ago

Search about DB seeders, its the process of populating a database with initial data required to run and use the application. I can't really tell you how to do it because it depends on what you're using.

Prisma for example: https://www.prisma.io/docs/orm/prisma-migrate/workflows/seeding


a year ago

!s


Status changed to Solved medim 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...