initial project setup with README and ignore
This commit is contained in:
24
start.py
Normal file
24
start.py
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Mobile-optimized startup script for the Delivery Route Optimization API."""
|
||||
|
||||
import uvicorn
|
||||
|
||||
def main():
|
||||
"""Start the mobile-optimized API server."""
|
||||
print("📱 Starting Mobile Delivery Route Optimization API...")
|
||||
print("⚡ Optimized for real-time mobile apps")
|
||||
print("🎯 Default algorithm: GREEDY (ultra-fast)")
|
||||
print("📚 Documentation: http://localhost:8002/docs")
|
||||
print("=" * 60)
|
||||
|
||||
uvicorn.run(
|
||||
"app.main:app",
|
||||
host="0.0.0.0",
|
||||
port=8002,
|
||||
reload=True,
|
||||
access_log=True,
|
||||
log_level="info"
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user