Thank you for considering contributing to the Docker Setup Tool! Your help makes this project better for everyone. This document provides guidelines and instructions for contributing.
Our project aims to simplify Docker infrastructure setup. Before you begin contributing, please ensure you have:
- A good understanding of Docker and container orchestration
- Familiarity with shell scripting
- Basic knowledge of Git and GitHub workflows
First, clone the repository and set up your development environment:
# Clone the repository
git clone https://github.com/jackkweyunga/docker-setup.git
# Enter the project directory
cd docker-setup
# Make the build script executable
chmod +x build.sh
# Build the project
makeWe use a standard Git workflow for contributions:
- Create a new branch for your feature or fix:
git checkout -b feature-name-
Make your changes, following our coding standards:
- Use clear, descriptive variable names
- Add comments for complex logic
- Follow the Google Shell Style Guide for bash scripts
- Keep functions focused and single-purpose
-
Test your changes thoroughly:
- Ensure the build process works
- Test on a fresh Docker installation
- Verify all features still work as expected
-
Commit your changes with clear messages:
git commit -m "Add feature: description of what you added"- Update the README.md with details of changes if needed
- Update the version numbers following Semantic Versioning
- Push your changes and create a Pull Request
- Respond to any feedback from maintainers
Before submitting your PR, please ensure:
- The build process completes successfully
- Installation works on a fresh system
- All features are documented
If you're adding new features, please include:
- Clear documentation in the code
- Updates to the README if needed
- Examples of how to use new features
- Any necessary troubleshooting guidance
- Maintainers will review your PR
- Address any requested changes
- Once approved, your code will be merged
- Your contribution will be added to the changelog
If you have questions or run into issues:
- Check existing issues for similar problems
- Create a new issue with clear details if needed
- Tag it appropriately (bug, enhancement, question)
Thank you for contributing to make Docker Setup Tool better for everyone!