Thank you for your interest in contributing to OpenGrid! We welcome contributions from the community to help improve this project. Please take a moment to review these guidelines before submitting your contribution.
By participating in this project, you agree to abide by our Code of Conduct. Please report any unacceptable behavior to the project maintainers.
- Before creating a new issue, please search the existing issues to avoid duplicates
- Use a clear and descriptive title
- Include as much information as possible: steps to reproduce, expected vs actual behavior, screenshots if applicable
- Include version information (OS, browser, database, etc.)
- Open an issue with the "enhancement" label
- Clearly describe the feature and why it would be valuable
- If possible, include a proposed implementation approach
- Fork the repository and create your branch from
main - If you've added code that should be tested, add tests
- If you've changed APIs, update the documentation
- Ensure the test suite passes
- Make sure your code lints
- Issue a pull request with a clear description of the changes
- Python 3.8+
- Node.js 16+
- PostgreSQL 13+ with PostGIS 3.0+
- Git
- Clone the repository
git clone https://github.com/yourusername/opengrid.git cd opengrid - Set up the backend (see Service/README.md)
- Set up the frontend (see Client/web/README.md)
- Set up the database (see Database/README.md)
- Follow PEP 8 style guide
- Use type hints for all new code
- Keep functions small and focused on a single responsibility
- Follow Airbnb JavaScript Style Guide
- Use TypeScript for all new code
- Prefer functional components with hooks
- Use snake_case for all identifiers
- Include comments for complex queries
- Follow the existing database schema conventions
- Write unit tests for all new functionality
- Ensure all tests pass before submitting a pull request
- Update tests when fixing bugs or adding features
- Update relevant documentation when adding or changing features
- Keep comments clear and concise
- Document any changes that affect the public API
By contributing to OpenGrid, you agree that your contributions will be licensed under its LICENSE file.
If you have any questions about contributing, please open an issue or contact the maintainers.