Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 685 Bytes

File metadata and controls

27 lines (20 loc) · 685 Bytes

De Bias - server

Prerequisites

Development

  1. Create config.toml file in the debias/server directory

  2. Install dependencies:

uv sync --group server
  1. Development launch:
CONFIG=config.toml uv run litestar --app debias.server:app run --debug --reload
  1. Production launch:
uv run litestar --app debias.server:app run --host 0.0.0.0 --port 8080

Process

Server retrieves data from the tables, defined in wordstore service, and aggregates it. Then it serves the data to the client to be rendered. Server also serves the frontend files as well.