mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 09:37:55 -05:00
16 lines
259 B
Python
16 lines
259 B
Python
"""Run the application"""
|
|
import os
|
|
|
|
import uvicorn
|
|
|
|
|
|
if __name__ == "__main__":
|
|
port = int(os.getenv("PORT", "8000"))
|
|
uvicorn.run(
|
|
"app.main:app",
|
|
host="0.0.0.0",
|
|
port=port,
|
|
reload=True,
|
|
log_level="info"
|
|
)
|