2.8 KiB
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
- How to Get Started
- Reporting Issues
- Submitting Changes
- Code Style Guidelines
- E2E Tests
- Pull Request Process
- Community Guidelines
How to Get Started
-
Fork the repository
Click the "Fork" button at the top-right corner of this repository. -
Clone the repository
git clone https://github.com/Portabase/portabase -
Set up the development environment
Follow the steps in theREADME.mdto install dependencies and configure the project. -
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:
- Check existing issues to avoid duplicates.
- 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
-
Ensure your branch is up to date
git pull origin main -
Write meaningful commit messages
Follow this format:[type] Summary of changesExample:
feat: add user authentication fix: resolve crash on login page -
Push your branch
git push origin feat/<feature-name> -
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
- Ensure your code passes all tests and linters.
- Provide a clear description of what your PR does.
- Reference any related issues (e.g.,
Closes #123). - 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 you’re unsure about something.
Thank you for contributing! 🙌