any-env-and-bind-address #58
No reviewers
Labels
No labels
Bug
Feature
Feedback Wanted
Refactoring
Won't Do
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: waifu/kemoverse#58
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "any-env-and-bind-address"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Many fixes and small changes needed for my environment:
I'm working in hotels and stuff and needed to disable bind on all addresses, can be easily overridden in config.
@ -13,8 +14,6 @@ def get_config_file() -> str:
env: str | None = environ.get('KEMOVERSE_ENV')
if not env:
raise ConfigError('Error: KEMOVERSE_ENV is unset')
if not (env in ['prod', 'dev']):
We might want to remove this check from the database migration script as well, I think we have an identical one there: https://git.waifuism.life/waifu/kemoverse/src/branch/any-env-and-bind-address/setup_db.py#L60