From 2b7016a79e0b3bd8778d51853cdf0dacc2adfab6 Mon Sep 17 00:00:00 2001 From: Riley1101 Date: Mon, 5 Feb 2024 17:49:13 -0500 Subject: [PATCH] added contribution guide --- CONTRIBUTING.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..97f1a9b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,71 @@ +# Contribution Guide + +Welcome to our SvelteKit project! We're thrilled that you're interested in contributing. Below is a simple guide to help you get started. + +## Getting Started + +1. **Fork the Repository:** + + - Click on the "Fork" button at the top right corner of the repository to create a copy in your GitHub account. + +2. **Clone the Repository:** + + - Clone your forked repository to your local machine. + ```bash + git clone https://github.com/shaniit-org/SIIT + cd SIIT + ``` + +3. **Install Dependencies:** + - Make sure you have Node.js installed on your machine. + - Install project dependencies. + ```bash + pnpm install + ``` + +## Making Changes + +1. **Create a Branch:** + + - Create a new branch for your feature or bug fix. + ```bash + git checkout -b feature/your-feature-name + ``` + +2. **Make Changes:** + + - Implement your changes or add new features. + +3. **Test Locally:** + + - We don't have any tests implemented yet but we do have `Vitest` and `Playwright` in mind. Let us know if you are down to try out. We would love to hangout and chat. + +4. **Commit Changes:** + - Commit your changes with a descriptive commit message. + ```bash + git add . + git commit -m "Add your descriptive message here" + ``` + +## Submitting Changes + +1. **Push to Your Fork:** + + - Push your changes to your forked repository. + ```bash + git push origin feature/your-feature-name + ``` + +2. **Create a Pull Request (PR):** + - Go to your forked repository on GitHub. + - Click on the "New Pull Request" button. + - Provide a descriptive title and details about your changes. + - Submit the pull request. + +## Code Review + +Once you've submitted a pull request, we will review your changes. Please be patient and be open to feedback. We appreciate your contribution! + +## Thank You + +Thank you for contributing to our SvelteKit project. Your efforts help make our project better for everyone. If you have any questions or need assistance, feel free to reach out. Happy coding!