-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
29 lines (26 loc) · 1.07 KB
/
.env.sample
File metadata and controls
29 lines (26 loc) · 1.07 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
# =============================
# Rails App
# =============================
RAILS_ENV=development
APP_HOST=localhost:3000
# =============================
# Database (PostgreSQL)
# =============================
DATABASE_URL=postgres://postgres:postgres@localhost:5432/cumarket_development
CACHE_DATABASE_URL=postgres://postgres:postgres@localhost:5432/cumarket_development
QUEUE_DATABASE_URL=postgres://postgres:postgres@localhost:5432/cumarket_development
CABLE_DATABASE_URL=postgres://postgres:postgres@localhost:5432/cumarket_development
# =============================
# Gmail OAuth2 (ActionMailer)
# =============================
GMAIL_ADDRESS=your_sender@gmail.com
GOOGLE_CLIENT_ID=your_google_oauth_client_id
GOOGLE_CLIENT_SECRET=your_google_oauth_client_secret
GOOGLE_REFRESH_TOKEN=your_google_oauth_refresh_token
# =============================
# Seed Admin (development/test only)
# Required to seed an admin account via db:seed.
# Never set these in production.
# =============================
SEED_ADMIN_EMAIL=your_admin@link.cuhk.edu.hk
SEED_ADMIN_PASSWORD=your_strong_password_here