Thank you for your interest in contributing to this project! 🎉 Follow the steps below to set up your development environment and submit contributions.
-
🔗 Fork the Repository: Click the "Fork" button on the GitHub repository page to create your own copy. You can fork the repository using:
-
📂 Clone Your Fork: Clone your forked repository to your local machine:
git clone https://github.com/YOUR_USERNAME/vue3-openlayers.git cd vue3-openlayers
-
📦 Install Dependencies: Run the following command to install required dependencies:
npm install
-
💻 Start Local Development: Use the following command to start the development environment:
npm run serve
-
📜 Read Guidelines: Have you read the code of conduct?
To sync your fork with the latest changes from the main repository:
-
🌍 Add the Main Repository as a Remote (if not already added):
git remote add upstream https://github.com/MelihAltintas/vue3-openlayers.git
-
📥 Fetch the Latest Changes:
git fetch upstream
-
🔀 Merge the Changes into Your Local Branch:
git checkout main git merge upstream/main
-
📤 Push the Updated Branch to Your Fork:
git push origin main
Ensure your changes include documentation updates where applicable. Follow the steps above to create a new branch and make your updates.
Before submitting, review your pull request:
- Confirm user experience matches the design.
- Ensure content and code accuracy.
- Check for grammar and style guide adherence.
- Troubleshoot any failing checks.
-
🌿 Create a Branch: Before making changes, create a new branch:
git checkout -b feature/your-feature-name
-
✏️ Make Your Changes: Edit files and implement your changes.
-
🎨 Verify Style: Follow Code Guidelines by checking for lint errors and format code correctly:
npm run lint # check for linting issues npm run lint-fix # check for linting issues and auto-fix if possible npm run format # format the code using prettier
-
✅ Commit Your Changes: Follow conventional commit messages:
git add . git commit -m "feat: add new feature description"
-
🚀 Push Your Branch: Push your changes to your fork:
git push origin feature/your-feature-name
- Go to the original repository on GitHub.
- Click on "New Pull Request".
- Select your branch and provide a clear description of your changes.
- Submit the pull request. 🎯
We review every PR to ensure high content quality.
- ✅ Your pull request will be reviewed by maintainers.
- ✏️ You may be asked to make modifications.
- Reviews are respectful and constructive.
- Follow-up on review comments and mark as resolved when done.
- 🎉 Once approved, your changes will be merged into the main branch.
- 🔍 Ensure that all changes adhere to the project's coding guidelines.
- 🧪 Run tests before submitting changes (if applicable).
- 🔄 Keep your branch up to date with the latest changes from
main
.
Upon merging, you'll be recognized in the contributor chart.
Thank you for contributing! 🙌