Chris H
09/20/2018, 8:41 PMyarn dev
run command? I would like to usually run the graphql server against the prisma on my local docker but occasionally run the graphql server against a staging environment on my production prisma host.patrickdevivo
09/20/2018, 8:43 PMpatrickdevivo
09/20/2018, 8:43 PMpatrickdevivo
09/20/2018, 8:43 PMChris H
09/20/2018, 8:52 PMprocess.env.PRISMA_ENDPOINT
so I would have to tell yarn dev
to use a different .env file to get all the variables for all the projects in the scope of the larger project. Your solution only works when you call prisma deploy
with the -e
flag to set a specific environment file.patrickdevivo
09/20/2018, 8:58 PMdev
script then to set the right env vars from a .env
file? maybe a bash script that runs before your dev scriptJidé
09/20/2018, 10:03 PMChris H
09/20/2018, 11:55 PM