Thank you for your interest in contributing to this project! These guidelines will help you contribute effectively.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/railwayapp-grafana.git cd railwayapp-grafana - Create a new branch:
git checkout -b feature/your-feature
- Copy the
.env.examplefile:cp .env.example .env
- Adjust the values in the
.envfile - Start the development environment:
docker-compose up -d
- Ensure your code follows the existing style
- Add tests when implementing new features
- Update documentation when necessary
- Describe your changes in the pull request
Use meaningful commit messages. A good format is:
feat: Add new feature
fix: Fix bug in X
docs: Update documentation
style: Improve code formatting
refactor: Restructure code
- Use meaningful variable names
- Comment complex logic
- Keep functions short and focused
- Follow Docker best practices
- Ensure all tests pass successfully
- Add new tests for new features
- Test your changes locally before committing
- Update README.md for relevant changes
- Document new features
- Add comments to complex code
For questions or issues:
- Check the existing documentation
- Create an issue in the GitHub repository
- Describe the problem in detail
By contributing to this project, you agree that your contributions will be licensed under the same license as the project.
Thank you for your contributions!