Thanks for your interest in contributing to Campus-Connect! This document provides guidelines for contributing.
Before you begin:
- Make sure you have installed Node.js and npm.
- Fork the Campus-Connect repository.
- Clone the forked repository to your local machine.
- Navigate into the project directory:
cd Campus-Connect
- Install the dependencies:
npm install
Follow these steps to start developing:
- Create a new branch:
git checkout -b <branch_name>
- Make your changes and test them locally.
- Commit your changes:
git commit -m '<commit_message>'
After you've made your changes, you're ready to submit a pull request. Follow these steps:
- Push your changes to the forked repository:
git push origin <branch_name>
- Navigate to the GitHub page of your forked repository and click on the
New pull request
button. - Ensure the pull request merges the changes from your branch in the forked repository to the
main
branch in the original repository. Provide a meaningful description for the changes you made. - Click on
Create pull request
.
Once you've created the pull request:
- A GitHub Action will automatically run to test your changes. Please ensure the test workflow passes. If it fails, review the logs, make necessary changes and commit again.
- Request a code review from other developers by tagging them in the pull request comments.
- If the reviewers have suggested changes, make the changes and commit them to your branch.
- Once your changes have been approved, and there are no conflicts with the base branch, you can merge your pull request into the
main
branch.
If you have any questions, feel free to reach out to us at [email protected].
Thank you for your contribution!