#Scenario
You recently got hired as a developer in a micro-finance startup with a mission to empower and provide opportunities to low income individuals. The core team currently uses Subversion (SVN) for managing code. They want to slowly move their code to Git. You are asked to host their sample code to calculate simple interest on GitHub in a new repository as the first step in this journey. You will not only host the script, but also follow best practices introduced in this course and create supporting documents for the open source project including code of conduct, and contributing guidelines. Additionally, the repository should be available to the community under the Apache License 2.0.
After completing this lab you will have demonstrated that you can:
Create a new repository in your GitHub account. Select an appropriate license for your project. Create main README.md markdown file that explains the purpose of the project. Create Code of Conduct markdown that explains how you want the community to behave and interact with each other. Create Contribution Guidelines markdown that tells the community how to contribute. Commit new file to the repository. Note: Throughout this lab you will be prompted copy and paste URLs into a notepad and save the notepad on your own device. These URLs will be uploaded for peer review in the Final Submission section of the course. You can use any notepad app to keep note of your URLs.
Create a new GitHub repository called "github-final-project" and make sure that it is public.
Select the Add a README file and Choose a license check boxes. Pick Apache 2.0 License from the drop down.
Click Create repository. Your repository is created and includes the README and LICENSE files. Now you are ready to update your repository files to include useful information for your community.
Save the URL of the repository in a notepad to submit later for peer review.
As part of Task 1, you picked a licence when creating the repository. Open the LICENSE.md file and save the URL in a notepad to submit later for peer review.
A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
Input: p, principal amount t, time period in years r, annual rate of interest Output simple interest = ptr
A code of conduct helps set ground rules for the behavior of your project’s participants. It defines standards for how to engage in a community.
GitHub provides templates for common codes of conduct to help you quickly add one to your project.
Click the Choose a code of conduct template button. On the left side of the page, multiple codes of conduct are listed.
Click "Contributor Covenant" and then click Review and submit to add the file to your project.
Scroll to the bottom of the page. Ensure that the radio button to commit directly to the main branch is selected and click Commit new file. Your project now contains a code of conduct.
Save the URL of CODE_OF_CONDUCT.md file in a notepad to submit later for peer review.