Welcome to the Main Website repository! We appreciate your interest in contributing. Please follow these guidelines to ensure a smooth collaboration.
Before you begin, ensure you have the following prerequisites installed on your machine:
-
Clone the repository:
If you've forked the repository, make sure that clone the forked repository and the repo mentioned below.
git clone https://github.com/0xsrmist/Main-Website.git
-
Install dependencies:
cd Main-Website pnpm install # Install `pnpm` using `npm i -g pnpm`
-
Create a .env.local file:
Create a
.env.local
file using.env.sample
as a reference. Fill in the required environment variables:NEXT_PUBLIC_SANITY_PROJECT_ID="" NEXT_PUBLIC_SANITY_DATASET="" GMAIL_EMAIL="" GMAIL_PASSWORD=""
Contact code maintainers to get access to the sanity project ID and dataset values.
For access to NEXT_PUBLIC_SANITY_PROJECT_ID and NEXT_PUBLIC_SANITY_DATASET, contact the code maintainers or refer to the Sanity documentation.
To obtain GMAIL_EMAIL and GMAIL_PASSWORD, follow Google's instructions on how to set up an app password.
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/my-feature
-
Make your changes and commit:
git commit -m "Add new feature"
-
Push your changes to your fork:
git push origin feature/my-feature
-
Open a pull request (PR):
Open a pull request to the main branch of the original repository.
Follow the existing code style in the project. Ensure your code is well-documented and includes appropriate comments.
If you encounter any issues or have suggestions, please open an issue on the GitHub repository.
Thank you for contributing to the Main Website project. Your efforts help improve and maintain the application for everyone. If you have any questions, feel free to reach out to the code maintainers. Happy coding!