config_template.py - Template to store secret configuration values

This file provides a template for storing secret configuration values. Rename it to config.py then edit the values. Do NOT place it under version control, since this will make your secrets widely available and difficult to erase.

Flask settings

See the end of session for instructions on generating a good secret key.

SECRET_KEY =                'THIS IS AN INSECURE SECRET'

Flask-Mail settings

Flask will send e-mail from this account.

MAIL_USERNAME =             'email@example.com'
MAIL_PASSWORD =             'password'
MAIL_DEFAULT_SENDER =       '"MyApp" <noreply@example.com>'
MAIL_SERVER =               'smtp.gmail.com'
MAIL_PORT =                 587
MAIL_USE_TLS =              True

Flask-User settings

Used by email templates.

USER_APP_NAME               = "MyApp"

Stripe settings

Copy these from https://dashboard.stripe.com/account/apikeys.

STRIPE_PRIVATE_KEY = 'stuff'
STRIPE_PUBLIC_KEY = 'more stuff'