mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
- removed pre commit hooks - updated docker setup - updated github docker actions - updated docs
13 lines
289 B
Python
13 lines
289 B
Python
"""Celery worker startup script."""
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Add the app directory to the Python path
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "app"))
|
|
|
|
from app.celery_app import celery_app
|
|
|
|
if __name__ == "__main__":
|
|
# Start the Celery worker
|
|
celery_app.start()
|