halborg
02/19/2018, 1:58 PMdotenv
package) in the graphcool-framework v11.5? It seems to have been implemented in Prisma, but can’t get it to work in GCF, and the issues/docs are somewhat confusing and mixing the two up 🙂max
02/19/2018, 2:13 PMhalborg
02/19/2018, 2:23 PM.env.dev
and a .env.prod
file in the root of my project. One of the values are AUTH_TOKEN_ENDPOINT="https://..."
, and I try deploying by doing graphcool deploy --env-file .env.dev
. This gives me an error saying A valid environment variable to satisfy the declaration 'env:AUTH_TOKEN_ENDPOINT' could not be found.
- can you spot my mistake @max ?max
02/19/2018, 2:40 PMmax
02/19/2018, 2:41 PMhalborg
02/19/2018, 8:36 PMhalborg
02/19/2018, 8:38 PMhalborg
02/19/2018, 8:41 PMmax
02/20/2018, 4:32 PMeval "$(direnv export bash)"
with macOS. I only have one .envrc file...so not sure how to help you with dev v.s. prod