Files
alpinebits_python/start_api.py
2025-09-29 13:56:34 +02:00

15 lines
345 B
Python

#!/usr/bin/env python3
"""
Convenience launcher for the Wix Form Handler API
"""
import os
import subprocess
# Change to src directory
src_dir = os.path.join(os.path.dirname(__file__), "src/alpine_bits_python")
# Run the API using uv
if __name__ == "__main__":
subprocess.run(["uv", "run", "python", os.path.join(src_dir, "run_api.py")])