Jul 28 - Update the demo request button, and add demo registration page

This commit is contained in:
2026-07-28 14:18:22 -04:00
parent 6b904aead9
commit ea9458395d
17 changed files with 905 additions and 13 deletions
+29 -1
View File
@@ -7,9 +7,37 @@ DB_NAME=jqc_features
# Or set a full URI and it overrides the parts above:
# DATABASE_URL=mysql+pymysql://user:pass@127.0.0.1:3306/jqc_features?charset=utf8mb4
# Target for the "Request a demo" button
# Fallback "email us directly" link shown under the booking form
DEMO_CONTACT_URL=mailto:info@ltservicesinc.com
# --- Demo appointments (/demo) ---
# Owner notification address. Blank -> no mail, requests still land in /admin/demos.
DEMO_NOTIFY_EMAIL=info@ltservicesinc.com
# Email the customer a confirmation copy too (1/0)
DEMO_CONFIRM_CUSTOMER=1
# Bookable window and slot size
DEMO_HOUR_START=8
DEMO_HOUR_END=17
DEMO_SLOT_MINUTES=30
DEMO_MAX_DAYS_AHEAD=90
DEMO_TIMEZONE_LABEL=Eastern Time
# Max form submissions per IP per hour (per gunicorn worker)
DEMO_RATE_LIMIT=5
# --- Outgoing mail (SMTP). Leave SMTP_HOST blank to disable mail entirely. ---
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
# STARTTLS on port 587:
SMTP_USE_TLS=1
# Implicit TLS on port 465 (set SMTP_USE_TLS=0 if you use this):
SMTP_USE_SSL=0
SMTP_TIMEOUT=20
# From address; defaults to SMTP_USER when blank
MAIL_FROM=
MAIL_SUBJECT_PREFIX=[JQC]
# --- Admin panel ---
# Sign session cookies + CSRF tokens. Generate: python3 -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change_me_to_a_long_random_string