-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.env.example
37 lines (31 loc) · 1.46 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Since the ".env" file is gitignored, you can use the ".env.example" file to
# build a new ".env" file when you clone the repo. Keep this file up-to-date
# when you add new variables to `.env`.
# This file will be committed to version control, so make sure not to have any
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
# You can go to supabase and create a new project and copy the database url from there https://app.supabase.com/projects
DATABASE_URL="file:./db.sqlite"
# Next Auth
# You can generate a new secret on the command line with:
# openssl rand -base64 32
# https://next-auth.js.org/configuration/options#secret
NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
# Next Auth Github Provider
# Create new oath app on github https://github.com/settings/developers
# In homepage URL add http://localhost:3000
# In authorization callback URL add http://localhost:3000/api/auth/callback/github
NEXT_GITHUB_CLIENT_ID=""
NEXT_GITHUB_CLIENT_SECRET=""
# Create account on cloudinary to get these values
# https://cloudinary.com/users/register_free
CLOUDINARY_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""
# get openai api key from here https://platform.openai.com/account/api-keys
OPENAI_API_KEY=""