124bd1706d
- Added Storage ABC - Moved Ledger class to storage/ledgercli.py - Added SQL requirements to requirements.txt
9 lines
295 B
Python
9 lines
295 B
Python
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')
|
|
SQLALCHEMY_DATABASE_URI = os.environ.get(
|
|
'DATABASE_URI',
|
|
'sqlite:///../accounting-api.sqlite')
|