Confused about how to contribute? Here's how you do it: Follow these steps to start contributing:
To work on this project, you will first need to make a copy of this repository along with the profile card template repository. To do this, you should fork the repositories and then clone it so that you have a local working copy.
Get your own Fork/Copy of this repository by clicking Fork button at right upper corner of your screen.
After forking the repositories, you can now clone it to have a local working copy of the codebase. In this repo you just need to clone template repo as only it contains code files.
To make your local copy of the repository follow the steps:
- Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open a terminal in a blank folder and run the following git command:
git clone "url you just copied"
where "url you just copied" (without the quotation marks) is the url to this repository (your fork of this project). See the previous steps to obtain the url.
Now you can see all the files in your local system. Update your details in the code and customize your profile card according to you. You can play around colors, background, etc.
- Track your changes:
git add .
- Commit your changes
git commit -m "Relevant message"
- Push the committed changes in your feature/main branch to your remote repo.
git push -u origin <your_branch_name/main>
Go to the "Settings" on the right side. Then go to the "Pages" to host your website on github pages. There you'll find "Build and deployment" section, in the "Branch" select your feature branch or main and folder to /(root)
. Hit click on Save
. Wait for 1-2 minutes to deploy it. You are then able to see link to your website. Copy that link.
Now visit Profile-Card-Collection
repository which you forked.
- Go to the
Profile_Card_Collection
folder - Edit readme and add your copied website link along with your name
Don't forget to add your code files inside "Code" folder. Create folder after your name and put your code files inside that folder.(As I found, they(Hacktoberfest) are verifying the code in the PR so I recommend that you add your code to a "code folder" to avoid any consequences)
- To create a pull request, click on
Compare and pull requests
. Please ensure you compare your feature branch to the desired branch of the repo you are suppose to make a PR to. - Add appropriate title and description to your pull request explaining your changes and efforts done.
- Click on
Create Pull Request
.