Hi, can someone share how configure a working file...
# orm-help
m
Hi, can someone share how configure a working file for environment variables? I have an .env.dev and .env.prod that both have
PRISMA_ENDPOINT = "<http://localhost:4466>"
, but when I execute
prisma deploy --env-file .env.dev
it shows me an error when it try to get it at prisma.yml with
endpoint: ${env:PRISMA_ENDPOINT}
Error >
A valid environment variable to satisfy the declaration 'env:PRISMA_ENDPOINT' could not be found.
👍 1
k
Dumb idea but could you try without spaces in
PRISMA_ENDPOINT=<http://localhost:4466>
?
m
😱 That's it! Many thanks Kimmo!
👍 2