-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
35 lines (27 loc) · 1.26 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
# 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.
# App
# Use the production URL when deploying to production
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Get the Database URL from the "prisma" dropdown selector in PlanetScale. Change the query params at the end of the URL to "?ssl={"rejectUnauthorized":true}"
DATABASE_URL=""
# NextAuth secret - This is set randomly
NEXTAUTH_SECRET="random_secret"
NEXTAUTH_JWT_SECRET="random_jwt_secret"
# uploadthing
UPLOADTHING_SECRET=""
UPLOADTHING_APP_ID=""
# Google OAuth client id and secret
# visit https://console.cloud.google.com/apis/credentials to create a new OAuth app
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# GitHub OAuth client id and secret
# visit https://github.com/settings/applications/new to create a new OAuth app
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""