Welcome to OpenQuotes - Share Your Inspiration!
This project aims to simplify and guide the way beginners make their first open source contribution. If you're looking to contribute your favorite quotes and be part of our journey to inspire the world, follow the steps below.
Live App Link: OpenQuotes Live App
Thanks to all our amazing contributors who have helped make OpenQuotes an inspiring and collaborative project!
If you don't have Git on your machine, install it.
- Fork this repository by clicking on the "Fork" button at the top of this page. This creates a copy of the repository in your GitHub account.
- Don't forget to click the "Star" button at the top right of the repository page to show your support!
- Open your terminal and run the following command, replacing
"url you just copied"
with the URL you copied:
git clone "url you just copied"
For example:
git clone [email protected]:this-is-you/openquotes.git
Install project:
git clone https://github.com/MrAshwin2142/OpenQuotes.git
Change to the repository directory on your computer (if you're not already there):
cd openquotes
Now create a new branch for your contribution:
git switch -c add-your-name
Replace add-your-name with a branch name that describes your contribution.
Open the quotes.js file in a text editor, add your favorite quote and your name to the array of quotes.
Save the file, and then in your terminal, execute the following commands:
git status
git add quotes.js
git commit -m "Add your quote and name to the collection"
Replace "Add your quote and name to the collection" with a meaningful commit message.
Push your changes to your GitHub repository with:
git push -u origin add-your-name
-
On GitHub.com, navigate to the main page of the repository.
-
In the "Branch" menu, choose the branch that contains your commits.
-
Above the list of files, in the yellow banner, click Compare & pull request to create a pull request for the associated branch.
-
Use the base branch dropdown menu to select the branch you'd like to merge your changes into, then use the compare branch drop-down menu to choose the topic branch you made your changes in.
-
ype a title and description for your pull request.
-
To create a pull request that is ready for review, click Create Pull Request. To create a draft pull request, use the drop-down and select Create Draft Pull Request, then click Draft Pull Request. For more information about draft pull requests, see "About pull requests."
After your pull request has been reviewed, it can be merged into the repository.
You've completed the standard fork, clone, edit, and pull request workflow. Congrats on your contribution to OpenQuotes! Share your contribution with friends and followers and celebrate your open source journey.
Share your contribution and our project with your friends and followers. Encourage them to join the open source community and start their own journey. Together, we can inspire and make the world a better place, one quote at a time.