Files

2.8 KiB
Raw Permalink Blame History


Contributing to Portabase

Thank you for considering contributing to Portabase! 🎉 Contributions help make this project better for everyone.

Please take a moment to review this guide. It will help you understand how to contribute effectively.


Table of Contents

  1. How to Get Started
  2. Reporting Issues
  3. Submitting Changes
  4. Code Style Guidelines
  5. E2E Tests
  6. Pull Request Process
  7. Community Guidelines

How to Get Started

  1. Fork the repository
    Click the "Fork" button at the top-right corner of this repository.

  2. Clone the repository

    git clone https://github.com/Portabase/portabase
    
  3. Set up the development environment
    Follow the steps in the README.md to install dependencies and configure the project.

  4. Create a branch
    Use the feature branch to work on changes.

    git checkout -b feature/<feature-name>
    

Reporting Issues

If you encounter a bug or have a suggestion for improvement, follow these steps:

  1. Check existing issues to avoid duplicates.
  2. Open a new issue if needed:
    • Provide a clear and descriptive title.
    • Describe the issue with steps to reproduce it (if applicable).
    • Include relevant logs, screenshots, or code snippets.

Submitting Changes

  1. Ensure your branch is up to date

    git pull origin main
    
  2. Write meaningful commit messages
    Follow this format:

    [type] Summary of changes
    

    Example:

    feat: add user authentication
    fix: resolve crash on login page
    
  3. Push your branch

    git push origin feat/<feature-name>
    
  4. Open a Pull Request (PR)
    Go to the repository on GitHub and click "New Pull Request."


Code Style Guidelines

  • Follow the [specific coding style guide] (e.g., Prettier, ESLint, PEP8,Biome).
  • Use meaningful variable names and include comments where necessary.
  • Tests before submitting your changes.

E2E Tests

E2E tests now live in a dedicated repository: Portabase/e2e-tests.

If your contribution needs corresponding end-to-end test coverage, add it there instead of this repo.


Pull Request Process

  1. Ensure your code passes all tests and linters.
  2. Provide a clear description of what your PR does.
  3. Reference any related issues (e.g., Closes #123).
  4. Wait for a review from a maintainer.

Community Guidelines

  • Be respectful and inclusive to all contributors.
  • Follow the Code of Conduct.
  • Feel free to ask questions if youre unsure about something.

Thank you for contributing! 🙌