Before moving ahead with making contributions please make sure that you have read the code of conduct mentioned in the CODE_OF_CONDUCT.md file.
Make sure you have node.js and git installed on your machine.
If you haven't then this article will help you in installation of git and this article will help in istallation of node.js
- Fork this repository by clicking on the fork button on the top of this page, this will create a copy of this repository in your account.
- Clone your forked version by entering
git clone "https://github.com/YOUR_GITHUB_UserName/react-widgets.git"
- Change the directory from present to the project directory by entering
cd react-widgets/
- Install all dependencies by entering
npm i
- Run the project locally by entering
npm start
This will run the project locally on portlocalhost:3000
in your default browser.
- Open a new window of your terminal and change the directory into the project folder
- Now create a new branch using
git checkout -b <add-your-new-branch-name>
For examplegit checkout-b vishal-codes
- Now make the required changes in the project which will resolve or add a feature as per mentioned in the respective issue.
- Add the changes to the branch you just created using the
git add .
command - Now commit those changes using
git commit -m <"a short description about changes u made">
For examplegit commit -m "Added new language in translator"
- Push the changes using
git push origin <add-your-branch-name>
For examplegit push origin vishal-codes
- Submit your changes for review by creating a pull request, if you go to your repository on GitHub, you'll see a
Compare & pull request
button. Click on that button. - Soon I'll be merging all your changes into the master branch of this project. You will get a notification email once the changes have been merged.
Congrats! You just completed the standard fork -> clone -> branch -> edit -> PR workflow that you'll encounter often as a contributor!