start
This guide shows you how to start a stopped Datafye Trading Environment on your local machine.
Prerequisites
Before you begin, ensure:
You have previously provisioned a local Trading Environment (see Provision a Local Trading Environment)
The deployment is currently stopped
Docker Desktop is running on your machine
Start Command
Use the following command to start your local Trading Environment:
datafye trading local startStart Process
When you start the deployment, the CLI will:
Verify Docker - Ensure Docker daemon is running
Start containers - Bring up all stopped Datafye service containers
Wait for services - Monitor service startup
Reconnect to broker - Re-establish broker connections
Run health checks - Verify all services are healthy
Display status - Show deployment is running
After Starting
Once the start process completes, you'll see a success message and your deployment will be accessible:
Data Cloud REST API:
http://localhost:8080/datafye-api/v1/Data Cloud WebSocket:
ws://localhost:8080/datafye-wsBroker Connector REST API:
http://localhost:8081/broker-api/v1/Broker Connector WebSocket:
ws://localhost:8081/broker-wsMCP Server (Full Stack only):
http://localhost:3000
Validate Connectivity
Test your deployment with:
Your local Trading Environment is now running!
Troubleshooting
Docker Not Running
If you see an error about Docker not being available:
Start Docker Desktop
Wait for Docker to fully start
Retry the start command
No Deployment Found
If you see an error that no local deployment exists:
Verify you've previously provisioned a deployment
If not, provision one first:
datafye trading local provision
Container Start Failures
If containers fail to start:
Check Docker logs:
docker ps -aanddocker logs <container-id>Verify sufficient Docker resources (RAM, disk space)
If issues persist, deprovision and re-provision the deployment
Broker Connection Issues
If broker connections fail on start:
Verify broker credentials haven't expired
Check broker service status
Ensure environment variables with credentials are still set
Review Broker Connector logs for specific errors
Related Commands
Provision a Local Trading Environment - Create a new deployment
Stop a Local Trading Environment - Stop the running deployment
Deprovision a Local Trading Environment - Remove the deployment
Last updated: 2025-10-22
Last updated

