file for depolyment on cpanel

This commit is contained in:
2026-04-08 11:26:42 +02:00
parent 1beb1ce630
commit 045d4bf575
+16
View File
@@ -0,0 +1,16 @@
import os
import sys
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)
os.chdir(PROJECT_ROOT)
from app import create_app
application = create_app()
app = application