19 lines
503 B
Python
19 lines
503 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Pets of Powerwashing - Main application entry point
|
|
|
|
A Flask application for managing pet picture submissions with authentication,
|
|
likes system, and public gallery functionality.
|
|
"""
|
|
|
|
import os
|
|
from app import create_app
|
|
|
|
# Create Flask application using factory pattern
|
|
app = create_app()
|
|
|
|
if __name__ == "__main__":
|
|
# Development server configuration
|
|
debug_mode = os.environ.get('FLASK_ENV') == 'development'
|
|
app.run(debug=debug_mode, host='0.0.0.0', port=5000)
|