e209b96 by Anon Ray at 2014-02-19 | 1 | |
2 | class DefaultConfig(): |
|
3 | ||
4 | """ |
|
5 | Default configuration for Sweet Store application |
|
6 | Copy this sample_config.py file to config.py and edit the values to your |
|
7 | requirements |
|
8 | """ |
|
9 | ||
10 | # You can turn debug to False in production |
|
11 | DEBUG = True # False |
|
12 | ||
13 | # Secret key needed by the Flask application to create sessions |
|
14 | SECRET_KEY = '<generate a long, random, unique string and put it here. see\ |
|
15 | python uuid>' |
|
16 | ||
17 | # the sqlalchemy database URI |
|
18 | SQLALCHEMY_DATABASE_URI =\ |
|
19 | 'dialect+driver://username:password@host:port/database' |
|
20 | ||
ce66e4e by Anon Ray at 2014-05-11 | 21 | # Log level for the application |
22 | LOG_LEVEL = 'ERROR' |
|
23 | ||
e209b96 by Anon Ray at 2014-02-19 | 24 | # sqlalchemy debug messages; turn to False in prdocution |
25 | SQLALCHEMY_ECHO = True #False |
|
26 | ||
27 | #DEFAULT_MAIL_SENDER = 'support@swtr.us' |
|
28 | ||
29 | # Configure your log paths |
|
ce66e4e by Anon Ray at 2014-05-11 | 30 | LOG_FILE = 'logs/swtstore.log' |
d120774 by Anon Ray at 2014-03-08 | 31 | |
32 | # The Mozilla Persona Verifier Host. Leave it as it is. |
|
33 | MOZ_PERSONA_VERIFIER = 'https://verifier.login.persona.org/verify' |
|
f867edb by Anon Ray at 2014-04-10 | 34 | |
35 | # The URL at which this app, swtstore, is deployed. |
|
36 | SWTSTORE_URL = 'http://demo.swtr.us' |
|
37 | ||
38 | # Bearer token expiry |
|
39 | OAUTH2_PROVIDER_TOKEN_EXPIRES_IN = 3600 |