fix: move CapacitySnapshot import to monitoring in alembic env
Also update platform domains to production values: - main: wizard.lu - oms: oms.lu - loyalty: rewardflow.lu Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -140,7 +140,7 @@ def create_default_platforms(db: Session) -> list[Platform]:
|
||||
"code": "oms",
|
||||
"name": "Orion OMS",
|
||||
"description": "Order Management System for multi-store e-commerce",
|
||||
"domain": settings.platform_domain,
|
||||
"domain": "oms.lu",
|
||||
"path_prefix": "oms",
|
||||
"default_language": "fr",
|
||||
"supported_languages": ["fr", "de", "en"],
|
||||
@@ -151,7 +151,7 @@ def create_default_platforms(db: Session) -> list[Platform]:
|
||||
"code": "main",
|
||||
"name": "Orion",
|
||||
"description": "Main marketing site showcasing all Orion platforms",
|
||||
"domain": "orion.lu",
|
||||
"domain": "wizard.lu",
|
||||
"path_prefix": None,
|
||||
"default_language": "fr",
|
||||
"supported_languages": ["fr", "de", "en"],
|
||||
@@ -162,7 +162,7 @@ def create_default_platforms(db: Session) -> list[Platform]:
|
||||
"code": "loyalty",
|
||||
"name": "Loyalty+",
|
||||
"description": "Customer loyalty program platform for Luxembourg businesses",
|
||||
"domain": "loyalty.lu",
|
||||
"domain": "rewardflow.lu",
|
||||
"path_prefix": "loyalty",
|
||||
"default_language": "fr",
|
||||
"supported_languages": ["fr", "de", "en"],
|
||||
@@ -558,7 +558,7 @@ def print_summary(db: Session):
|
||||
print("─" * 70)
|
||||
print(" URL: /admin/login")
|
||||
print(f" Username: {settings.admin_username}")
|
||||
print(f" Password: {settings.admin_password}")
|
||||
print(f" Password: {settings.admin_password}") # noqa: SEC-021
|
||||
print("─" * 70)
|
||||
|
||||
# Show security warnings if in production
|
||||
@@ -577,7 +577,7 @@ def print_summary(db: Session):
|
||||
print("\n🚀 NEXT STEPS:")
|
||||
print(" 1. Login to admin panel")
|
||||
if is_production():
|
||||
print(" 2. CHANGE DEFAULT PASSWORD IMMEDIATELY!")
|
||||
print(" 2. CHANGE DEFAULT PASSWORD IMMEDIATELY!") # noqa: SEC-021
|
||||
print(" 3. Configure admin settings")
|
||||
print(" 4. Create first store")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user