-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
22 lines (16 loc) · 659 Bytes
/
app.py
File metadata and controls
22 lines (16 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python3
"""
Development server entry point for Workshop Inventory Tracking application.
This script provides a convenient way to run the Flask development server
with debug mode enabled. It uses the centralized create_app factory from
the app module to ensure consistency between development, test, and production
environments.
For production deployment, use wsgi.py with a proper WSGI server like Gunicorn.
Usage:
python app.py
The server will start on http://127.0.0.1:5000 with debug mode enabled.
"""
from app import create_app
if __name__ == '__main__':
app = create_app()
app.run(debug=True, host='127.0.0.1', port=5000)