forked from Ammaar-Alam/tigertype
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (47 loc) · 1.63 KB
/
.env.example
File metadata and controls
59 lines (47 loc) · 1.63 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Server Configuration
PORT=3000
NODE_ENV=development
# Session Configuration
SESSION_SECRET=tigertype-session-secret
# Database Configuration
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=localhost
DB_PORT=5432
DB_NAME=tigertype
## Feedback Email
FEEDBACK_EMAIL_FROM=cs-tigertype@princeton.edu
FEEDBACK_EMAIL_TO_TEAM=cs-tigertype@princeton.edu,it.admin@tigerapps.org
FEEDBACK_REPLY_TO=cs-tigertype@princeton.edu,it.admin@tigerapps.org
SITE_URL=https://tigertype.tigerapps.org
# Scraping Configuration
OPENAI_API_KEY=your_api_key_here
PRINCETON_API_KEY=""
PRINCETON_CONSUMER_KEY=""
PRINCETON_CONSUMER_SECRET=""
# Production Database URL (only used in production)
DATABASE_URL=postgres://username:password@host:port/database
# CAS Authentication
CAS_HOST=fed.princeton.edu
CAS_PATH=/cas
SERVICE_URL=http://localhost:3000
# AWS S3 Bucket Configuration
AWS_ACCESS_KEY_ID=YOUR_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY
AWS_REGION=us-east-2
S3_BUCKET_NAME=tigertype
# Changelog API
CHANGELOG_PUBLISH_TOKEN=your_shared_secret_token
# Install Homebrew if you don't have it
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install PostgreSQL
# brew install postgresql
# Start PostgreSQL service
# brew services start postgresql
# Delegated SMTP OAuth (device code, cached)
# Run: node server/scripts/seed_smtp_oauth_device_login.js (saves a cache file and prints JSON)
# For Heroku, set SMTP_OAUTH_CACHE to the printed JSON
AZURE_TENANT_ID=
AZURE_CLIENT_ID=
SMTP_SENDER=cs-tigertype@princeton.edu
SMTP_OAUTH_CACHE= {"Account":{},"IdToken":{},"AccessToken":{},"RefreshToken":{},"AppMetadata":{}}