Use start_alwrity_backend.py via Procfile, single requirements.txt

This commit is contained in:
ajaysi
2026-04-06 07:05:01 +05:30
parent 3f3575cc18
commit 2b025673d6
3 changed files with 49 additions and 9 deletions

View File

@@ -26,9 +26,10 @@ errorlog = "-"
loglevel = os.getenv("LOG_LEVEL", "info").lower()
# Don't preload - bind to port FIRST, then load worker
# This fixes "No open ports detected" on Render
preload_app = False
# Use the startup script that handles all the logic
factory = False # app:app is not a factory, it's the app object
def on_starting(server):
"""Called just before the master process is initialized."""