Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"""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()
|
||||
Reference in New Issue
Block a user