-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
19 lines (14 loc) · 1.06 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
NEXT_PUBLIC_HOST="lms.name.edu.xyz" // Domain name without protocols
EMAIL="[email protected]" // Your Email ID, will be urlencoded automatically
PASSWORD="very_secure_password" // Your password, will be urlencoded automatically
NEXT_PUBLIC_AUTHOR="name" // Please give proper credits if self hosting
NEXT_PUBLIC_COURSES="id1-name1 id2-name2 id3-name3" // Space separated list of course IDs and names
// VAPID key pair can be generated by running `./node_modules/.bin/web-push generate-vapid-keys`
NEXT_PUBLIC_VAPID="publickey" // VAPID public key
VAPID_PRIVATE="privatekey" // VAPID private key
NEXT_PUBLIC_VAPID_SUB="mailto:emailid" // VAPID subject, should be an email or a URL
AUTH_COOKIE="cryptographically_random_string" // A random string, used as a authentication cookie
GOOGLE_CLIENT_ID="123-eadsfsadapps.googleusercontent.com" // Google OAuth client ID
GOOGLE_CLIENT_SECRET="xyz-123-abc" // Google OAuth client secret
CB_URL="https://<domain>/api/auth" // Callback URL for Google OAuth
EMAIL_DOMAIN="name.edu.xyz" // Email domain to check if user is a student or not