Spaces:
Sleeping
Sleeping
fix: add server/app.py, update openenv.yaml app path and pyproject.toml scripts
Browse filesFiles changed (4)
- openenv.yaml+1-1
- pyproject.toml+2-2
- server/__init__.pyAdded
- server/app.pyAdded+5
1 unmodified line234561 unmodified linename: customer-support-apitype: spaceruntime: fastapiapp: api:appport: 78601 unmodified line234561 unmodified linename: customer-support-apitype: spaceruntime: fastapiapp: server.app:appport: 7860
21 unmodified lines222324252627282921 unmodified lines][project.scripts]server = "api:main"[tool.setuptools.packages.find]where = ["."]include = ["tasks*", "graders*"]21 unmodified lines222324252627282921 unmodified lines][project.scripts]server = "server.app:main"[tool.setuptools.packages.find]where = ["."]include = ["server*", "tasks*", "graders*"]
12345"""server/app.py — Required by OpenEnv multi-mode deployment standard.Re-exports the FastAPI app and main entry point from the root api module."""from api import app, main # noqa: F401openenv.yaml+1-1
pyproject.toml+2-2
server/__init__.pyAdded
server/app.pyAdded+5