-
-
Notifications
You must be signed in to change notification settings - Fork 0
Workflow Recipes Overview
Real-world workflow examples using DotRun across different team types and development scenarios. Each workflow provides complete setup instructions, script collections, and team collaboration patterns.
Complete web development workflow for teams using React frontend, Node.js backend, and PostgreSQL database.
Best for:
- Web development teams (3-10 developers)
- React + Node.js + PostgreSQL stack
- Agile development with frequent deployments
- Teams needing integrated frontend/backend tooling
Includes:
- Frontend build and development scripts
- Backend API development and testing
- Database setup and migration tools
- Integrated deployment pipeline
- Team collaboration workflows
Enterprise-grade DevOps workflow for managing microservices on Kubernetes with comprehensive monitoring and security.
Best for:
- DevOps and Platform teams
- Microservices architecture
- Kubernetes-based infrastructure
- Enterprise environments requiring security and compliance
Includes:
- Infrastructure automation (Terraform)
- Kubernetes cluster management
- Microservice deployment strategies
- Monitoring and alerting
- Security scanning and compliance
Complete data science workflow with model training, experiment tracking, and deployment automation.
Best for:
- Data science and ML engineering teams
- Python-based ML workflows
- Jupyter notebook environments
- Model deployment and monitoring
Includes:
- ML environment setup automation
- Experiment tracking and management
- Model training and validation pipelines
- Data processing and analysis tools
- Model deployment and serving
Comprehensive testing workflow covering web, API, and performance testing with reporting automation.
Best for:
- QA and testing teams
- Automated testing pipelines
- Multi-platform testing (web, mobile, API)
- Performance and load testing
Includes:
- Automated test execution
- Cross-browser testing
- API testing and validation
- Performance and load testing
- Test reporting and metrics
Rapid development workflow optimized for small teams and quick iterations.
Best for:
- Startup teams (2-5 developers)
- Rapid prototyping and iteration
- Resource-constrained environments
- Simple deployment workflows
Includes:
- All-in-one development setup
- Rapid deployment scripts
- Cost-effective infrastructure
- Simplified team onboarding
| Team Size | Recommended Workflows |
|---|---|
| 1-3 developers | Startup Development |
| 3-10 developers | Full-Stack Development |
| 10+ developers | DevOps Pipeline + specialized workflows |
| Stack | Primary Workflow | Additional Workflows |
|---|---|---|
| React + Node.js | Full-Stack Development | QA Automation |
| Microservices + K8s | DevOps Pipeline | Full-Stack Development |
| Python + ML | Data Science Team | DevOps Pipeline |
| Multi-platform | QA Automation | DevOps Pipeline |
| Phase | Focus Areas | Recommended Workflows |
|---|---|---|
| Prototype | Rapid development, simple deployment | Startup Development |
| MVP | Testing, basic automation | Full-Stack Development |
| Scale | Infrastructure, monitoring, security | DevOps Pipeline |
| Enterprise | Compliance, multi-team, governance | All workflows with enterprise patterns |
All workflows follow consistent organization patterns:
bin/
├── development/ # Local development tools
├── testing/ # Test automation
├── deployment/ # Deployment scripts
├── monitoring/ # Health checks and monitoring
└── maintenance/ # Cleanup and maintenance
Standard collaboration patterns used across workflows:
-
Collection Import:
dr import <repo> <name> - Daily Workflow: Documented command sequences
- Code Review: Automated validation scripts
- Documentation: Comprehensive inline and markdown docs
Consistent environment handling:
- Development: Local setup and testing
- Staging: Integration testing and QA
- Production: Secure deployment and monitoring
Select the workflow that best matches your team size, technology stack, and development phase.
Each workflow provides a Git repository you can import:
dr import <workflow-repo-url> <collection-name>Adapt the scripts and configurations to match your specific:
- Technology choices
- Deployment targets
- Team processes
- Security requirements
Set up regular practices for:
- Collection updates
- Script maintenance
- Documentation updates
- New team member onboarding
Large organizations often use multiple workflows:
# Shared infrastructure
dr import git@company.com/infrastructure.git infra
# Team-specific workflows
dr import git@company.com/frontend-tools.git frontend
dr import git@company.com/backend-tools.git backend
dr import git@company.com/data-tools.git data
dr import git@company.com/qa-tools.git qa
# Cross-team collaboration
dr infra/setup-environment team-a
dr frontend/deploy-staging
dr qa/test-environment stagingTeams often evolve through workflows as they grow:
- Start: Startup Development
- Grow: Full-Stack Development
- Scale: DevOps Pipeline
- Specialize: Add Data Science or QA Automation
- Version Control: Tag stable releases of collections
- Documentation: Keep README and docs updated
- Testing: Validate scripts before sharing
- Security: Review scripts for sensitive data
- Gradual Rollout: Start with one workflow, expand gradually
- Training: Ensure team understands DotRun concepts
- Feedback: Collect and incorporate team feedback
- Maintenance: Assign ownership for collection updates
- Fork, Don't Modify: Fork workflows to customize for your team
- Contribute Back: Share useful improvements with the community
- Document Changes: Maintain clear documentation of customizations
- Stay Updated: Regularly sync with upstream improvements
Have a workflow that would benefit others? Consider contributing:
- Document thoroughly: Include setup, usage, and examples
- Follow patterns: Use consistent organization and naming
- Test completely: Ensure scripts work in clean environments
- Submit PR: Share with the community via pull request
Need a workflow not listed here?
- Check existing: Look for similar workflows to adapt
- Request: Create a GitHub issue describing your needs
- Collaborate: Work with community to develop the workflow
- Documentation: Each workflow includes comprehensive docs
- Examples: Working examples in each workflow repository
- Community: GitHub discussions and issues
- Support: Professional support available for enterprise teams
- Script Development Guide: Learn to create custom scripts
- Team Collaboration: Advanced collection management
- Best Practices: Recommended patterns and conventions
- API Reference: Complete command documentation
Choose your workflow and get started! Each workflow is designed to provide immediate value while scaling with your team's growth and changing needs.