Thank you for your interest in contributing to GStraccini-bot-service! 🎉 This repository serves as the core/handler of the GStraccini-bot, processing messages and managing data in SQL tables. Your contributions ensure the bot remains efficient and reliable.
Follow these steps to start contributing:
-
Fork the Repository 🍴: Fork the repository to your GitHub account.
-
Clone Your Fork 🖥️: Clone your forked repository locally using:
git clone https://github.com/your-username/gstraccini-bot-service.git
-
Set Up Your Environment 🛠️:
-
This project requires PHP 8.3.
-
Use Docker Compose for a fully functional local environment:
docker-compose up
-
Ensure your integrations are set up by creating or editing the secrets in the
secrets/directory.
-
-
Create a Branch 🌿: Create a branch for your feature or fix:
git checkout -b feature/your-feature-name
-
Code Standards 🧹: Follow PSR-12 coding standards. Use linters to maintain code quality.
-
Testing 🧪:
-
All new features and fixes must include PHPUnit tests.
-
Run the test suite to ensure everything works:
vendor/bin/phpunit
-
-
Commit Messages 📜: Use clear, concise, and descriptive commit messages. Follow the Conventional Commits specification.
-
Documentation 📚: If your changes affect functionality, update or add relevant documentation.
-
Push Your Branch ⬆️: Push your changes to your forked repository:
git push origin feature/your-feature-name
-
Open a Pull Request 🔄:
- Go to the original repository and open a pull request (PR).
- Provide a clear and detailed description of your changes.
-
Work with Reviewers 👥:
- Be open to feedback and suggestions from reviewers.
- Update your PR as needed.
Please follow our Code of Conduct to maintain a welcoming and inclusive environment for everyone.
- Local Environment Debugging 🐛: Use the Docker Compose environment for testing integrations and debugging locally.
- Testing Secrets 🔑: Store integration credentials in the
secrets/directory for local tests. - Reference the README 📖: For additional context, see the README.md.
If you encounter any issues or have questions, don’t hesitate to:
- Open a GitHub Discussion.
- File an issue in the repository.
Your contributions are highly valued and appreciated! Thank you for helping improve GStraccini-bot-service. 💖
Happy coding! 🚀