readme.md 1.1 KB

supply cart

install uv: https://docs.astral.sh/uv/getting-started/installation/

get a FIO API key from https://fio.fnar.net/settings and create a config.toml like

username = 'raylu'
fio_api_key = 'uuid_here'
punoted_api_key = ''

[market.mm_items]
TCL = 0

[supply.promitor]
ignore_materials = ['RAT']

uv run supply.py promitor


Local Development

To work on the frontend (ts/ directory) and test your changes locally, you will need to install Bun (the project's JavaScript runtime and bundler) in addition to uv. install bun: https://bun.sh/docs/installation

Run the local development orchestrator script from your terminal:

bash dev.sh

This script will automatically:

  1. Run roi.py (via uv) to generate the required backend JSON data.
  2. Ensure frontend dependencies are installed via bun install.
  3. Build the TypeScript into standard JavaScript.
  4. Spin up a local development server at http://localhost:8000.