Home

/

Library

/

local-run.md

Local Run Checklist (Phase 1)

Local Run Checklist (Phase 1)

1) Environment

  • Python 3.11+ in a virtual environment.
  • Postgres running with cornice_dev created.
  • RabbitMQ running locally (or pointed to a server).

2) Config

  • Copy .env.example to .env.
  • Set CORNICE_DB_PWD and verify POSTGRES_URL.
  • Set RABBITMQ_URL if not local.

3) Apply Migrations

See docs/db-setup.md for commands.

4) Start the App

uvicorn app.main:app --reload

5) Verify

  • GET /health returns OK.
  • socket.io emits market:update events.
  • Postgres tables have new rows in markets and market_links.