pillar/attract/config.py.example
Francesco Siddi 770838f0fc Tweaks to file_server initialisation
We are setting a sensible default for the storage folder and loading
that automatically, this way we avoid having a compulsory config file.
2015-04-24 11:57:40 +02:00

29 lines
707 B
Plaintext

import os
class Config(object):
# Configured for GMAIL
MAIL_SERVER = ''
MAIL_PORT = 465
MAIL_USE_SSL = True
MAIL_USERNAME = ''
MAIL_PASSWORD = ''
DEFAULT_MAIL_SENDER = ''
# Flask-Security setup
SECURITY_LOGIN_WITHOUT_CONFIRMATION = True
SECURITY_REGISTERABLE = True
SECURITY_RECOVERABLE = True
SECURITY_CHANGEABLE = True
SECUIRTY_POST_LOGIN = '/'
SECURITY_PASSWORD_HASH = ''
SECURITY_PASSWORD_SALT = ''
SECURITY_EMAIL_SENDER = ''
class Development(Config):
SECRET_KEY = ''
HOST = '0.0.0.0'
PORT = 5000
DEBUG = True
FILE_STORAGE = '{0}/application/static/storage'.format(
os.path.join(os.path.dirname(__file__)))