21 lines
833 B
Bash
21 lines
833 B
Bash
# Copy to .env and fill in. Do NOT commit .env.
|
|
DB_USER=jqc_features
|
|
DB_PASSWORD=change_me
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
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
|
|
DEMO_CONTACT_URL=mailto:info@ltservicesinc.com
|
|
|
|
# --- 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
|
|
ADMIN_USERNAME=admin
|
|
# Generate: python3 -c "from werkzeug.security import generate_password_hash as g; print(g('yourpassword'))"
|
|
ADMIN_PASSWORD_HASH=
|
|
# Set to 1 once served over HTTPS (required for the login cookie to send). Use 0 for plain-HTTP local testing.
|
|
SESSION_COOKIE_SECURE=1
|