From 7a81783cb01dc565106af0d6ae9010061184ce3e Mon Sep 17 00:00:00 2001 From: YukiOnishi <58220747+YukiOnishi1129@users.noreply.github.com> Date: Tue, 31 Oct 2023 20:46:47 +0900 Subject: [PATCH] fix: revised to add env sample (#324) --- dashboard/final-example/.env.sample | 13 +++++++++++++ dashboard/starter-example/.env.example | 12 +++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 dashboard/final-example/.env.sample diff --git a/dashboard/final-example/.env.sample b/dashboard/final-example/.env.sample new file mode 100644 index 0000000..8a85ba7 --- /dev/null +++ b/dashboard/final-example/.env.sample @@ -0,0 +1,13 @@ +# Copy from .env.local on the Vercel dashboard +# https://nextjs.org/learn/dashboard-app/setting-up-your-database#create-a-postgres-database +POSTGRES_URL= +POSTGRES_PRISMA_URL= +POSTGRES_URL_NON_POOLING= +POSTGRES_USER= +POSTGRES_HOST= +POSTGRES_PASSWORD= +POSTGRES_DATABASE= + +# `openssl rand -base64 32` +AUTH_SECRET= +AUTH_URL=http://localhost:3000/api/auth \ No newline at end of file diff --git a/dashboard/starter-example/.env.example b/dashboard/starter-example/.env.example index 332b117..8a85ba7 100644 --- a/dashboard/starter-example/.env.example +++ b/dashboard/starter-example/.env.example @@ -1,3 +1,13 @@ +# Copy from .env.local on the Vercel dashboard +# https://nextjs.org/learn/dashboard-app/setting-up-your-database#create-a-postgres-database +POSTGRES_URL= +POSTGRES_PRISMA_URL= +POSTGRES_URL_NON_POOLING= +POSTGRES_USER= +POSTGRES_HOST= +POSTGRES_PASSWORD= +POSTGRES_DATABASE= + # `openssl rand -base64 32` AUTH_SECRET= -AUTH_URL=http://localhost:3000/api/auth +AUTH_URL=http://localhost:3000/api/auth \ No newline at end of file