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

8 months ago

In addition to production would also work.

Solved

14 Replies

salieflewis
PROOP

8 months ago

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


8 months ago

Change this to development

1390055255231828000


8 months ago

You can select a base environment in your project settings


salieflewis
PROOP

8 months ago

What if I wanted to do both?


8 months ago

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


salieflewis
PROOP

8 months ago

Potentially yes


8 months ago

You would need two projects for that.


salieflewis
PROOP

8 months ago

Ok


salieflewis
PROOP

8 months ago

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


8 months ago

Only if you made your own seeders for that


salieflewis
PROOP

8 months ago

What does that mean?


salieflewis
PROOP

8 months ago

Are there any docs on how to do it?


8 months 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


8 months ago

!s


Status changed to Solved medim 8 months ago


Loading...