PrismaP
Prisma2y ago
7 replies
Virgile

How to authenticate Prisma Optimize in a VPS ?

Hi everyone. I enabled Prisma Optimize on a project to try it out. On local, I can authenticate using the browser, all works well.

On a VPS though, I pushed to prod and my website crashed.

How can we authenticate to Prisma on a VPS ? What command could I run before hand to avoid this issue ?

I have a production and a preproduction environment, do I need to authenticate for both, or only for one ? Do we need to run this command inside the project, alongside the schema.prisma ?

Thanks !
Was this page helpful?