#!/usr/bin/env python3
"""
Main entry point for the ACT License Checker API
Run this file to start the Flask application
"""

import os
from app import create_app

# Get configuration from environment variable
config_name = os.environ.get('FLASK_CONFIG', 'default')

# Create the Flask application
app = create_app(config_name)

if __name__ == '__main__':
    # Run the application
    app.run(
        host=app.config['HOST'],
        port=app.config['PORT'],
        debug=app.config['DEBUG']
    ) 