Thank you for considering contributing to Annotation-Lab! We welcome contributions from the community to help improve and enhance the project. To ensure a smooth collaboration, please follow the guidelines outlined in this document.
Please read and adhere to our Code of Conduct to ensure a welcoming and respectful environment for all contributors.
If you encounter any bugs, please help us by reporting them:
- Ensure the bug has not already been reported by searching existing issues.
- Open a new issue with the following information:
- A clear and descriptive title.
- Steps to reproduce the bug.
- Expected and actual behavior.
- Screenshots or code snippets (if applicable).
- Any other relevant information.
We welcome suggestions for new features or improvements:
- Search existing issues to check if the enhancement has already been suggested.
- Open a new issue with the following information:
- A clear and descriptive title.
- A detailed description of the proposed enhancement.
- Any relevant examples or mockups.
To contribute code changes, follow these steps:
- Fork the repository.
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
- Make your changes.
- Commit your changes with a descriptive commit message.
- Push your branch to your forked repository:
git push origin feature/your-feature-name
- Open a pull request to the main repository with a clear description of your changes.
To set up the development environment, follow these steps:
- Navigate to the
client
directory:cd client
- Install the dependencies:
npm install
- Start the development server:
npm start
- Navigate to the
server
directory:cd server
- Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use \`venv\\Scripts\\activate\`
- Install the dependencies:
pip install -r requirements.txt
- Start the Flask server:
flask run
- Use clear and descriptive commit messages.
- Follow the format:
Example:
type: subject body (optional)
feat: add image upload functionality Added the ability for users to upload images from their local machine.
- Follow the coding style of the existing codebase.
- Ensure your code is well-documented.
- Run linters and formatters before submitting a pull request.
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for your contributions! If you have any questions, feel free to open an issue or contact the project maintainers. """