-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 1.29 KB
/
.env.example
File metadata and controls
36 lines (29 loc) · 1.29 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
# Django settings module
DJANGO_SETTINGS_MODULE=config.settings.development
# For production on EC2, start from `.env.production.example` instead.
# Secret key (only for local development — generate a new one for production)
SECRET_KEY=no7bxov1^uh=ksbp-xyw=#%4pn@01naitpdfj=-3*kao-3w93a
# Database — matches docker-compose.yml defaults
DATABASE_URL=postgres://tigerpath:tigerpath@localhost:5432/tigerpath
# Redis cache URL (set this when running `make deps-up`)
# REDIS_URL=redis://localhost:6379/1
# Optional Redis memory caps for Docker Redis
# REDIS_MAXMEMORY=256mb
# REDIS_MAXMEMORY_POLICY=allkeys-lru
# Local-memory cache safeguards (used when REDIS_URL is not set)
# CACHE_MAX_ENTRIES=2000
# CACHE_CULL_FREQUENCY=3
# Allowed hosts
ALLOWED_HOSTS=0.0.0.0,127.0.0.1,localhost
# Vite dev mode (set to False in production)
DJANGO_VITE_DEV_MODE=True
# Disable output buffering for easier debugging
PYTHONUNBUFFERED=1
# Princeton MobileApp API (required for course scraping / make seed-courses)
# CONSUMER_KEY=<consumer_key>
# CONSUMER_SECRET=<consumer_secret>
# Optional override if Princeton changes API path/version again
# MOBILEAPP_BASE_URL=https://api.princeton.edu:443/mobile-app/1.0.6
# TigerBook API (optional — used for onboarding auto-fill)
# TIGERBOOK_USERNAME=<netid>
# TIGERBOOK_API_KEY=<api_key>