Thank you for your interest in contributing to WriteMe! This document outlines the process for contributing to our project. Please follow these guidelines to help us review your changes as quickly as possible.
- Code of Conduct
- Getting Started
- How to Contribute
- Style Guide
- Testing
- Pull Request Process
- Acknowledgements
By participating in this project, you agree to abide by our Code of Conduct. Please read it to understand the expectations for our community.
- Fork the repository: Click the "Fork" button at the top right of the repository page to create a copy of the repository under your GitHub account.
- Clone the repository: Use
git clone https://github.com/COS301-SE-2024/WriteMe.gitto clone the repository to your local machine. - Create a branch: Create a new branch for your work using
git checkout -b your-branch-name.
If you find a bug, please create an issue on GitHub with the following information:
- A short, descriptive title
- A detailed description of the issue
- Steps to reproduce the issue
- Any relevant logs or screenshots
If you have an idea to enhance the project, please open an issue with:
- A clear and descriptive title
- A detailed description of your suggestion
- Any relevant supporting information
- Ensure your code follows the project's coding standards and passes all tests.
- Create a branch: Use a descriptive branch name that clearly identifies the work being done.
- Make your changes: Commit your changes with clear and concise commit messages.
- Push to your fork:
git push origin your-branch-name. - Create a Pull Request: Go to the original repository and click the "New Pull Request" button. Follow the template provided.
Please ensure your code adheres to the following style guide:
- Use meaningful variable and function names.
- Write comments to explain complex logic.
- Follow the PEP 8 style guide for Python code.
- Follow this guide for all other code.
- Maintain consistent indentation and formatting.
Before submitting your code, ensure it passes all tests:
- Write tests: Add tests for any new features or bug fixes.
- Run tests: Use the project's testing framework to run all tests.
- Verify: Ensure all tests pass and your code coverage is maintained or improved.
- Review: Your pull request will be reviewed by the project maintainers. They may request changes or provide feedback.
- Update: Make any requested changes and push to your branch.
- Merge: Once approved, your changes will be merged into the main branch.
We appreciate all contributions, whether they're issues, suggestions, or code changes. Thank you for helping us improve WriteMe!