Thank you for your interest in contributing to the IIIT Dharwad website! We welcome contributions from the community to help improve and enhance the website.
To get started with contributing, please follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Install the necessary dependencies by running
npm install
oryarn install
. - Create a new branch for your feature or bug fix:
git checkout -b my-feature-branch
. - Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Open a pull request (PR) against the main repository's
dev
branch.
To set up the development environment, follow these steps:
- Ensure you have Node.js (version 18.x or higher) installed on your machine.
- Clone the repository and navigate to the project directory.
- Run
npm install
to install the required dependencies. - Run
npm run dev
to start the development server. - Open your browser and visit
http://localhost:3000
to see the website.
We follow a consistent code style and use linting tools to maintain code quality. Please ensure that your code adheres to the following guidelines:
- Use meaningful variable and function names.
- Follow the JavaScript/TypeScript coding conventions.
- Run
npm run lint
to check for linting errors.
All pull requests SHOULD adhere to the Conventional Commits specification
View the convention of commit messages locally here
When submitting a pull request, please ensure the following:
- Provide a clear and descriptive title for your pull request.
- Include a detailed description of the changes made and the problem it solves.
- Reference any relevant issues or pull requests in the description.
- Ensure that your code passes all linting checks.
- Be open to feedback and be willing to make changes based on the review comments.
If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository. When reporting an issue, provide as much detail as possible, including steps to reproduce the problem, expected behavior, and actual behavior.