mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
d61c0fc5a5
Remove package installation step and use FastAPI CLI with PYTHONPATH for simpler container execution. Disable reload in main.py and include static/templates as package data for proper distribution.
17 lines
298 B
Python
17 lines
298 B
Python
import uvicorn
|
|
from .server import app
|
|
|
|
|
|
def main():
|
|
"""Main entry point for the KJV Study application."""
|
|
uvicorn.run(
|
|
"kjvstudy_org.server:app",
|
|
host="0.0.0.0",
|
|
port=8000,
|
|
reload=False,
|
|
log_level="info"
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |