-
Open Source Etiquette: If you've never contributed to an open source project before, have a read of Basic etiquette for open source projects.
-
Basic familiarity with Git and GitHub: If you are also new to these tools, visit GitHub for complete beginners for a comprehensive introduction to them.
Follow these steps to setup Machine-Learning-Repos on your local machine 👇
-
Fork the repository
-
Clone the forked repository in your local system.
https://github.com/recodehive/machine-learning-repos.git
-
Navigate to the Website folder if you want to contribute to our website.
cd Website
-
Now install dependency
cd server npm install
-
Setup env file
1. Create .env in the server folder 2. Store your Github PAT Token GITHUB_TOKEN = YOUR_GITHUB_TOKEN
- Run the Server
cd server node server.js
Open http://localhost:3000 with your browser to see the result.
- Run the Server
-
Create a new branch for your feature.
git checkout -b <your_branch_name>
-
Perform your desired changes to the code base.
-
Track and stage your changes.
# Track the changes git status # Add changes to Index git add .
-
Commit your changes.
git commit -m "your_commit_message"
-
Push your committed changes to the remote repo.
git push origin <your_branch_name>
Note
If you're having trouble cloning the repository on your system, try running the following commands to optimize Git for large repositories and slower connections:
git config --global core.compression 9
git config --global http.maxRequestBuffer 1G
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
git config --global http.postBuffer 1048576000
Alternatively, you can use GitHub Codespaces to clone and work on the repository in a cloud environment.
- Go to your forked repository on GitHub and click on
Compare & pull request
. - Add an appropriate title and description to your pull request explaining your changes and efforts done.
- Click on
Create pull request
. - Congrats! 🥳 You've made your first pull request to this project repo.
- Wait for your pull request to be reviewed and if required suggestions would be provided to improve it.
- Celebrate 🥳 your success after your pull request is merged successfully.
We follow a standardized commit message format using Commitlint to ensure consistency and clarity in our commit history. Each commit message should adhere to the following guidelines:
- Be Concise and Descriptive: Summarize the change in a way that’s easy to understand at a glance.
- Use the Imperative Mood: Write as if giving a command (e.g.,
Add
,Fix
,Update
), which is a convention in many projects. - Include Context: Provide context or reason for the change if it’s not immediately obvious from the summary.
- Reference Issues and Pull Requests: Include
issue numbers
or PR references if the commit addresses them. - Issue reference (Optional): Include the issue number associated with the commit (e.g.,
#123
).
Improve - readability of <document> tutorial
Add - examples to ML documentation
Enhance - troubleshooting section in Prometheus guide
Refactor - README for better clarity
Reorganize repository structure for easier navigation
Remove - outdated tools from recommendations
Added new stuff
Fixed a bug
Updated code
auth feature update
chore: fixed some stuff
git commit -m "feat(auth): Implement user signup process (#789)"
- If something is missing here, or you feel something is not well described, please raise an issue.