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.
Before you start
Section titled “Before you start”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.
1. Start the stack
Section titled “1. Start the stack”test -f frontend/.env || cp frontend/.env.example frontend/.envtest -f backend/.env || touch backend/.envmake docker-run-devCompose 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.
2. Check the application
Section titled “2. Check the application”Open localhost:8080. In a second terminal, check the NestJS and Rust services:
curl --fail --show-error http://localhost:8080/api/healthcurl --fail --show-error http://localhost:8080/trading/healthThe 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.
3. Stop without losing data
Section titled “3. Stop without losing data”Press Ctrl+C in the first terminal, then stop the stack:
make docker-stop-devThe named PostgreSQL volume is retained for the next start.
Next steps
Section titled “Next steps”- Change local ports:
APP_PORTchanges the UI port (default8080).MCP_HTTP_PORTchanges the loopback MCP port (default8181). - 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.