Deploy the Python package and API according to your environment (venv, container, or process manager). Typical steps:
- Install with
pip install -r requirements.txtandpip install -e .(or install a built wheel in production). - Run simulations via
run_simulation.py,farm.core.cli, or your own entrypoints. - Run the HTTP API with
python -m farm.api.server(see README for defaults and endpoints).
There is no single Dockerfile or cloud manifest maintained in this repository; treat deployment as environment-specific.
Not applicable in-tree today: the full Vite/Electron Configuration Explorer app is not present under farm/editor/ (only Jest tests exist). When a deployable UI is added, expect something like:
- Static hosting of a
dist/web build, and/or - Packaged Electron artifacts from
electron-builder(or similar),
documented in that application’s own README. Design targets are described in Electron Config Explorer architecture.
When a Config Explorer frontend exists, it may use variables such as IS_ELECTRON, PERF_LOG, and optional RUM/error endpoints. See the app’s documentation when available.
GitHub Actions workflows live under .github/workflows/. tests.yml runs Python tests (pytest with coverage) and farm/editor Jest tests (Node 20). There is no ci.yml workflow in this repository.