Installing this repo:
- Go to https://github.com/bountifulchildrensfoundation/user-interface
- Click on the 'Fork' button in the top right. This will fork the repo to your own account.
- Click on the 'Clone or Download' button, to clone the repo to your local environment. Make sure you are in the directory you want the project to be downloaded into.
- After downloading the repo, open up the code with your favorite code editor.
- Make desired changes
Pushing changes to Github, through Git
- Once you are done working with the code, it must be pushed to the repository. Run the command 'git checkout -b branch-name'
- Run the git command 'git status' to see all the changed files.
- Run 'git add .' to add all files to be committed.
- Then run 'git commit -m descriptive message of changes'
- Finally, run the command 'git push origin branch-name'
- The changes will then be pushed to the repo under your branch.
Submitting a pull request to complete changes
- Go to the repo, and click the 'Pull requests' tab and then click the 'Pull Request' button.
- Click the 'compare' dropdown button and switch the branch to the branch you were working under, then click the 'Create Pull Request' button.
- Add any reviewers/assignees, etc by clicking on the corresponding 'gear' button on the right side of the screen.
- Finally, click the 'Create Pull Request' button to complete the pull request.
- The person in charge of the repo will then look at the pull request and either approve or deny the request.