CLI Reference
runnem up
Start one or all services in your project.
Usage
runnem up [service]
Description
The up
command starts services in your project. You can either start all services or a specific service. When starting services, runnem:
- Checks for running services from other projects
- Validates service dependencies
- Checks for port conflicts
- Starts services in the correct order based on dependencies
- Waits for services to be ready before starting dependent services
Examples
# Start all services
runnem up
# Start a specific service
runnem up api
How it works
Dependency Checking:
- Builds a dependency graph
- Detects circular dependencies
- Sorts services by dependency order
Port Management:
- Checks if required ports are available
- Cleans up any processes using required ports
- Ensures clean startup environment
Service Startup:
- Starts independent services first
- Waits for dependencies to be ready
- Checks service health via URLs
- Provides status updates for each service
Error Handling:
- Captures startup errors
- Provides detailed error logs
- Cleans up resources on failure
Service Status
During startup, you'll see status messages for each service:
- 🚀 Starting service...
- âś… Started service (with URL if configured)
- ❌ Failed to start service (with error details)
Best Practices
- Always check the status messages
- Use URLs in service configurations for better health checking
- Keep dependency chains simple
- Monitor logs for startup issues