- Copy config.py to config.example.py as template (tracked in git) - Add config.py to .gitignore (local config per developer) - Update README.md with configuration setup instructions - Fix outdated references (TinyDB -> SQLite, add missing files) - Persist goal selection across task and note pages
14 lines
281 B
Python
14 lines
281 B
Python
import os
|
|
|
|
DB_PATH = os.path.join(os.path.dirname(__file__), "data", "db.sqlite")
|
|
|
|
DEFAULT_ADMIN_USERNAME = "admin"
|
|
DEFAULT_ADMIN_PASSWORD = "admin123"
|
|
|
|
DEFAULT_MAX_GOALS = 5
|
|
|
|
SECRET_KEY = "goals-breakdown-secret-key-change-in-production"
|
|
DEBUG = True
|
|
HOST = "0.0.0.0"
|
|
PORT = 5000
|