Skip to content

Get started

Run the complete workstation on your machine with Docker. This guide takes you from a local checkout to a running application and two service health checks.

You need Docker with the Compose plugin, GNU Make, and a local checkout of the OpenTrading product repository. Run the following commands from that repository’s root, not the documentation repository.

Terminal · product repository
test -f frontend/.env || cp frontend/.env.example frontend/.env
test -f backend/.env || touch backend/.env
make docker-run-dev

Compose needs both environment files, even when empty. The first run builds the image locally and can take some time. Keep this terminal open to see the service logs.

Open localhost:8080. In a second terminal, check the NestJS and Rust services:

Terminal · health checks
curl --fail --show-error http://localhost:8080/api/health
curl --fail --show-error http://localhost:8080/trading/health

The workstation should load in your browser and both health endpoints should respond successfully. Some exchange and AI features require external services or credentials; starting the stack does not configure those providers.

Press Ctrl+C in the first terminal, then stop the stack:

Terminal · stop the stack
make docker-stop-dev

The named PostgreSQL volume is retained for the next start.

  • Change local ports: APP_PORT changes the UI port (default 8080). MCP_HTTP_PORT changes the loopback MCP port (default 8181).
  • Work on the code: follow local development to run services separately.
  • Connect an AI client: read MCP tools for the transports and service requirements.
  • Keep the stack running: follow Deployment for background operation and Database & persistence for data safety.
  • Prefer a native shell: compare the desktop options.

For background mode and startup troubleshooting, see the deployment guide and troubleshooting checklist.

Source: the product development guide.