blob: b877bb31637d9ed41792bc9c929ec6a59b4dd24d [file] [log] [blame]
gstepanov725cc302015-02-09 15:08:06 +02001import os
2
stgleb75c70412015-02-17 02:52:00 +02003basedir = os.environ.get('DATABASE_FOLDER', os.path.abspath(os.path.dirname(__file__)))
gstepanov5efd15a2015-01-29 17:26:24 +02004DOCUMENT_ID = "1Xvd0aHA7mr-_b5C3b-sQ66BQsJiOGIT2UesP7kG26oU"
gstepanov31bb8e42015-01-30 18:00:42 +02005SHEET_NAME = "aaa"
gstepanov5efd15a2015-01-29 17:26:24 +02006WORK_SHEET = "Worksheet"
7COL_COUNT = 2
gstepanov31bb8e42015-01-30 18:00:42 +02008ROW_COUNT = 10
gstepanove0f26ab2015-02-02 18:09:37 +02009DEFAULT_FILE_PATH = "test.json"
10OUTPUT_FILE = "output.json"
gstepanov725cc302015-02-09 15:08:06 +020011TEST_PATH = os.environ.get("TEST_PATH", os.path.dirname(__file__) + "/test_results")
gstepanov6ce6bf02015-02-16 19:04:14 +020012CHARTS_IMG_PATH = "static/images"
stgleb75c70412015-02-17 02:52:00 +020013SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
14
15if os.environ.get('DATABASE_URL') is None:
16 DATABASE_URI = ('sqlite:///' + os.path.join(basedir, 'app.db') +
17 '?check_same_thread=False')
18else:
19 DATABASE_URI = os.environ['DATABASE_URL']