theom
10/17/2018, 9:54 PMprisma deploy --env-file variables.env
My variables.env file reads as follows:
FRONTEND_URL="<http://localhost:7777>"
PRISMA_ENDPOINT="<https://eu1.prisma.sh/6e240757-4cce7e/sick-fits/dev>"
PRISMA_SECRET=""
APP_SECRET=""
STRIPE_SECRET=""
PORT=4444
My prisma.yml file reads as follows:
endpoint: ${env:PRISMA_ENDPOINT}
datamodel: datamodel.prisma
# secret: ${env:PRISMA_SECRET}
hooks:
post-deploy:
- graphql get-schema -p prisma
My datamodel.prisma file reads as follows:
type User {
id: ID! @unique
name: String!
}
What is the issue here?nilan
10/17/2018, 10:13 PMtheom
10/17/2018, 10:29 PMnilan
10/18/2018, 8:32 AM