metaserver-web-python/run.py
DJP dd77b199e0 Initial commit: Meta File Server Query Application
- Flask web application for querying Oliver metafile server
- Replicates Make.com workflow for job data retrieval
- Two-stage process: XML client extraction → JSON data retrieval
- Clean HTML interface with responsive design
- Comprehensive error handling and SSL fixes
- Complete documentation and installation guides

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 15:26:40 -04:00

34 lines
No EOL
852 B
Python

#!/usr/bin/env python3
"""
Meta File Server Query Application
A simple Flask application that replicates the Make.com workflow for querying
the Oliver metafile server to retrieve job information based on deliverable numbers.
Usage:
python run.py
The server will start on http://localhost:5000
"""
import os
import sys
# Add the current directory to Python path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from app import app
if __name__ == '__main__':
print("=" * 60)
print("Meta File Server Query Application")
print("=" * 60)
print("Starting server on http://localhost:5000")
print("Press Ctrl+C to stop the server")
print("=" * 60)
try:
app.run(debug=True, host='0.0.0.0', port=5000)
except KeyboardInterrupt:
print("\n\nServer stopped by user.")
sys.exit(0)