2013-12-17 14:41:30 +00:00
|
|
|
# Part of accounting-api project:
|
|
|
|
# https://gitorious.org/conservancy/accounting-api
|
|
|
|
# License: AGPLv3-or-later
|
|
|
|
|
2013-12-09 19:53:20 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
LEDGER_FILE = os.environ.get('LEDGER_FILE', None)
|
|
|
|
DEBUG = bool(int(os.environ.get('DEBUG', 0)))
|
|
|
|
PORT = int(os.environ.get('PORT', 5000))
|
|
|
|
HOST = os.environ.get('HOST', '127.0.0.1')
|
2013-12-14 15:08:47 +00:00
|
|
|
SQLALCHEMY_DATABASE_URI = os.environ.get(
|
|
|
|
'DATABASE_URI',
|
|
|
|
'sqlite:///../accounting-api.sqlite')
|