-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (18 loc) · 1.46 KB
/
.env.example
File metadata and controls
22 lines (18 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ── Flask core ────────────────────────────────────────────────────────────────
# IMPORTANT: the app reads SECRET_KEY (not FLASK_SECRET_KEY)
# Generate a strong value: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change-this-to-a-random-secret-key-before-deploying
# ── Database ──────────────────────────────────────────────────────────────────
# SQLite (default). On Koyeb/Render the instance/ dir is created automatically.
DATABASE_URL=sqlite:///instance/supply_tracker.db
# ── Demo mode ─────────────────────────────────────────────────────────────────
# Set all four to "true" for a public portfolio demo.
DEMO_MODE=true
DEMO_READONLY=true
DEMO_AUTO_LOGIN=true
AUTO_SEED_ON_EMPTY=true
USE_SEED_BOOT=true
# Generate a strong token: python -c "import secrets; print(secrets.token_hex(16))"
DEMO_RESET_TOKEN=change-this-token
# ── Flask env ─────────────────────────────────────────────────────────────────
FLASK_ENV=production