We appreciate your interest in improving this project! If you have something better to offer, we invite you to contribute and make it even better.
To start contributing, follow the guidelines given below:
git clone https://github.com/<your_user_name>/GyanaGuru.git
- Add a reference (remote) to the original repository:
git remote add upstream https://github.com/PiyushKalyanpy/GyanaGuru.git
- Add a reference (remote) to your forked repository:
git remote add origin https://github.com/<your_user_name>/GyanaGuru.git
git remote -v
git pull upstream main
git checkout -b <your_branch_name>
Perform your desired changes to the code base.
git add .
git commit -m "Suitable message"
git push -u origin <your_branch_name>
To create a pull request:
- Click on "Compare And Pull Requests" 🔄
- Make sure your pull request adheres to our contribution guidelines. Pull requests that do not meet the guidelines may be closed or discarded ❌
- Avoid including unnecessary files like
package.json
orpackage.lock.json
to maintain a focused and relevant pull request 📦 - Add an appropriate title and description to your pull request, explaining your changes with suitable explanations and screenshots 📝🖼️
- Click on "Create Pull Request" to submit your contribution for review ✅
-
⚠️ Please ensure that you create a pull request (PR) once you have been approved by us in commets section of issue page. In the case of frontend design-related matters, it is necessary to present screenshots for review and obtain approval from us. It is important to note that any PR created without prior approval on the issue page may be discarded.
To run your forked project, you need to pass in your firebase config data in firebase.tsx
file under the firebse folder.
Else it results in the following error:
To fix this follow the below steps:
-
Head on to https://console.firebase.google.com/
-
Sign in with your gmail account.
-
Click on
create a project
.
-
Give a name to your project and proceed.
-
After your project is set up, click on the web button on your dashboard(third one).
- It prompts you to register your app, do so and proceed forward.
Note: Don't check in for the firebse hosting checkbox!.
- Copy the firebase keys and paste into the .env file as shown in point 8.
- Make a
.env
file in root folder and paste the values in from of the given keys. make sure to keep the keys name as given below.
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
- Run the development server.
npm run dev
Congratulations! You've made your PR with the desired changes. Once the PR is reviewed, it will be merged into the original codebase for everyone to see and use.
Thank you so much for contributing. Hope to see you again soon........
We appreciate your understanding and cooperation in following our guidelines. Thank you for your contribution! 🙌