Contributing Guide – Vertical Farm
Last Synced: 2025-05-17
Welcome!
Thank you for your interest in contributing to the Vertical Farm project. This guide will help you get started and ensure a smooth collaboration.
Getting Started
- Clone the repository:
git clone https://github.com/your-org/vertical-farm.git
- Install dependencies:
- Backend:
cd backend && pip install -r requirements.txt
- Frontend:
cd frontend && npm install
- Copy and configure environment variables:
- Copy
.env.example
to.env
in both backend and frontend, and fill in required secrets. - Run locally:
- Use
docker-compose up --build
from the project root for full stack.
Coding Standards
- Python: Follow PEP8, use type hints, and docstrings.
- TypeScript/JS: Use Prettier and ESLint (see
frontend/
configs). - Commits: Use clear, descriptive commit messages (see Conventional Commits).
- Tests: Add/maintain tests for all new features and bugfixes.
Pull Request Process
- Fork the repo and create a feature branch.
- Make your changes and add/modify tests as needed.
- Run all tests locally before submitting.
- Open a pull request with a clear description of your changes.
- Link related issues and request a review.
Documentation
- Update relevant markdown docs in
docs/
for any code or feature changes. - Use the Hermes agent to sync docs with codebase when possible.
Code of Conduct
- Be respectful and constructive in all interactions.
- See CODE_OF_CONDUCT.md if available.
Questions?
Open an issue or start a discussion in the repository.