Skip to content

Move runtime configuration to .env with safer database defaults.#25

Merged
ablfaxl merged 1 commit into
mainfrom
fix/env-dotenv-db-fallback
May 8, 2026
Merged

Move runtime configuration to .env with safer database defaults.#25
ablfaxl merged 1 commit into
mainfrom
fix/env-dotenv-db-fallback

Conversation

@ablfaxl
Copy link
Copy Markdown
Owner

@ablfaxl ablfaxl commented May 8, 2026

Load settings from environment variables using python-dotenv, add a committed .env.sample template, and add a development fallback that automatically switches to SQLite with a warning when the configured database host is unreachable.

Load settings from environment variables using python-dotenv, add a committed .env.sample template, and add a development fallback that automatically switches to SQLite with a warning when the configured database host is unreachable.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown
Owner Author

@ablfaxl ablfaxl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@ablfaxl
Copy link
Copy Markdown
Owner Author

ablfaxl commented May 8, 2026

fixed #24

@ablfaxl ablfaxl merged commit c06d82f into main May 8, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in @ablfaxl's lms project May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant