12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
import os
|
|
|
|
class Config(object):
|
|
SQLALCHEMY_DATABASE_URI='sqlite:///' + os.path.join(os.path.dirname(__file__), '../server.sqlite')
|
|
DEBUG=True
|
|
PORT=9999
|
|
HOST='0.0.0.0' # or 'localhost'
|
|
TMP_FOLDER = '/tmp/'
|
|
THUMBNAIL_EXTENSIONS = set(['png'])
|
|
SERVER_STORAGE = '{0}/static/storage'.format(
|
|
os.path.join(os.path.dirname(__file__)))
|