Syknapse / Contribute-To-This-Project

This project is waiting for your contribution. If you have never contributed code on GitHub before, this is the project to get you started.
https://syknapse.github.io/Contribute-To-This-Project/
MIT License
2.3k stars 3.18k forks source link
beginners community contributions contributions-welcome github github-desktop good-first-issue help-wanted html javascript open-source tutorial

Contribute To This Project

image info

Logo Created with :sparkling_heart: By CandidDeer

Tweet

Discord PRs Welcome Open Source Love


Announcement:

Would you like to become a maintainer on this project and help keeping it going? If you are interested, read the maintainer's guide, join our Discord server, and request to join the team from the project maintainers.


Quick access index


Introduction

This is a tutorial to help first-time contributors to participate in a simple and easy project.

Objectives

Who is this for?

Why do I need to do this?

Any web developer, aspiring or experienced needs to use Git version control, and GitHub is the most popular Git hosting service used by everyone. It is also the heart of the Open Source community. Getting comfortable using GitHub is an essential skill. Making a contribution to a project boosts your confidence and gives you something to show on your GitHub profile.

If you are a new developer and you are wondering if you need to learn Git and GitHub then here is the answer: You Should've Learned Git Yesterday.

What am I going to contribute?

Contributor Card

You are going to contribute a card just like this one to this project's web page. It will include your name, your Twitter handle, a short description, and 3 links to useful resources for web developers that you recommend.

You will make a copy of the card template inside the HTML file and customize it with your own information.


Translations

This tutorial is also available in other languages

Arabic (عربي) Bangla (বাংলা) Chinese (Traditional) (繁體中文) Dutch English (English)
French (Français) German (Deutsch) Hindi (हिंदी) Italian (Italiano) Japanese (日本語)
Korean (한국어) Polish (Polski) Portuguese (Portuguese) Russian (Русский) Serbian (Српски)
Spanish (Español) Turkish (Türkçe) Ukrainian (українська) Norwegian (Norsk) Malyalam

Translations for projects documentations are welcome. Read Translation Guide to contribute.


Setup! :)

[!Note] This Tutorial is based on GitHub PC. If you're comfortable with the terminal go to this tutorial (Click Here)

First let's get setup to do the work

  1. Login to your GitHub account. If you don't yet have an account then join GitHub. I recommend that you do the GitHub Hello World tutorial before you continue.
  2. Download GitHub Desktop app.
    • Alternatively if you are comfortable using Git on the command line you can do so Here is the link to the CLI tutorial.
    • If you use VS Code it comes with integrated Git and allows you to do what we need straight from the editor.
    • However the simplest and easiest way to follow this tutorial is using GitHub Desktop.

Now that you are all setup let's get on with the business of contributing to the project.

↑ Go to top ↑


Contribute

Become an open source contributor in 10 easy steps.

Estimated time: Less than 30 minutes.

Step 1: Fork this repository

Fork
Click on the Fork button

↑ Go to top ↑


Step 2: Clone the repository

Clone
Click on File then Clone repository
Clone project
:arrow_right_hook: A forked project will have the fork symbol on the left. Your fork will have your own GitHub user your fork

↑ Go to top ↑


Step 3: Create a new branch

:arrow_righthook: click on Current branch, Then click on New_ Create branch
:arrow_right_hook: Give your branch a name, then click on Create branch Name branch
:arrow_right_hook: Publish your new branch to GitHub Name branch

Do NOT work on the master branch

↑ Go to top ↑


Step 4: Open the index.html file

Open index file
:arrow_right_hook: Alternatively you can locate the file on your hard drive, right click, and open with your editor

↑ Go to top ↑


Step 5: Copy the card template

Find card template
Copy card template
Paste card template

↑ Go to top ↑


Step 6: Apply your changes

:arrow_right_hook: Replace 'Name' with your name Change name
:arrow_right_hook: Insert the URL of your Twitter account href="https://github.com/Syknapse/Contribute-To-This-Project/blob/master/Insert URL here", Type your handle in the text field Change contact
Change about
:arrow_right_hook: Tell us something about you. Keep it short and sweet. Think about it more like a tweet than a blog post
Change resources
:arrow_right_hook: Share with the community 3 links to resources that are useful for web development. This can be anything, a video, a talk, a podcast, an article, a reference, or a tool. If you are a beginner don't be intimidated by this, share whatever you know even if you think it's basic. You'll be surprised how many people will benefit.

↑ Go to top ↑


Step 7: Commit your changes

Commit changes
:arrow_righthook: The next step is called Commit_. This roughly means confirm the changes
Commit changes
:arrow_right_hook: This is what your GitHub desktop header should look like. Notice the fork symbol next to the project name in Current repository, Your Current branch will have the name you gave it in step 3
Write commit message and commit
:arrow_righthook: **To Commit you must fill in the Summary field. This is the commit message explaining what you have changed. In this case "Add my card information" would be a reasonable message. Optionally you can add a more detailed Description. Click the Commit_ button. Your button will say something like Commit to "your-branch-name"**

↑ Go to top ↑


Step 8: Push your changes to GitHub

:arrow_righthook: Click the Push_ button Push to GitHub

↑ Go to top ↑


Step 9: Submit a PR(Pull Request)

Submit a Pull Request
:arrow_right_hook: Click on the Compare and pull request
Open a Pull Request
:arrow_right_hook: This is what the Open a pull request page looks like.
Submit a Pull Request
:arrow_right_hook: Create a pull request: Write a title, Add optional information in the description and Click on Create pull request

↑ Go to top ↑


Step 10: Celebrate

That's it. You have done it! You have now contributed to open source on GitHub.

You have added code to a live web page: https://syknapse.github.io/Contribute-To-This-Project

Your changes won't be visible immediately; first they have to be reviewed, accepted, and merged by the project maintainer. Once they are merged your card should be visible and live on the page.

It is very normal for a reviewer to ask for changes on a PR. Think of it as good practice if it happens to you. Keep an eye for comments and requested changes. Once you make the requested changes (back in your branch) all you have to do is to commit and push your changes. The PR will automatically update with the new changes.

I promise I will try to review and merge as soon as possible but I do this in my spare time, so a few days delay is inevitable.

↑ Go to top ↑


Next Steps

↑ Go to top ↑


Acknowledgements

This project is heavily influenced by Roshan Jossey's great first-contributions project with its excellent tutorial.

It is also particularly inspired by the great community around #GoogleUdacityScholars The Google Challenge Scholarship: Front-End Web Dev, class of 2017 Europe.

License

This project is licensed under the MIT License.

Top 100 Contributors

GitHub Contributors Image

Back to the top ↑