File size: 467 Bytes
c7d603c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""FastAPI application entry point for the HR Productivity Environment.

This module re-exports the app from hr_env.server.app for OpenEnv convention
compatibility (openenv validate expects server/app.py at the project root).
"""

import uvicorn

from hr_env.server.app import app  # noqa: F401

__all__ = ["app"]


def main():
    """Run the environment server."""
    uvicorn.run("server.app:app", host="0.0.0.0", port=8000)


if __name__ == "__main__":
    main()