Uploaded code

This commit is contained in:
2025-09-27 17:45:52 +01:00
commit b73af5bf11
61 changed files with 10500 additions and 0 deletions

22
wsgi.py Normal file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env python3
"""
WSGI entry point for Sharey
This file is used by Gunicorn and other WSGI servers
"""
import sys
import os
from pathlib import Path
# Add src directory to Python path
src_path = Path(__file__).parent / "src"
sys.path.insert(0, str(src_path))
# Import the Flask application
from app import app
# Create the WSGI application
application = app
if __name__ == "__main__":
# This allows running the WSGI file directly for testing
app.run(host="0.0.0.0", port=8866, debug=False)