21 lines
539 B
Python
21 lines
539 B
Python
"""Standalone launch script for the CSG Part Verifier picking backend."""
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Ensure the directory containing the app folder is in the python path
|
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
# Configure console logging for standalone run
|
|
import logging
|
|
logging.basicConfig(
|
|
level=logging.INFO,
|
|
format="%(asctime)s %(levelname)s %(name)s: %(message)s",
|
|
handlers=[logging.StreamHandler(sys.stdout)]
|
|
)
|
|
|
|
from app import picker_server
|
|
|
|
if __name__ == "__main__":
|
|
picker_server.run_server()
|