OpenMRS resources: Difference between revisions

imported>Chrishay7
imported>Chrishay7
Line 91:
Before working on a current bug, you might like to try completing [https://openhatch.org/wiki/OpenMRS_sample_bug this older one] in order to get a feel for the workflow.
 
= Workflow for a =
 
See [https://github.com/hypotext/OpenMRS-dev-setup/wiki/Setting-up-git,-plus-workflow-tutorial here].
Line 98:
GitHub: visual interface for git. Lets you view repositories, pull requests (requests from other people to add original code), etc. online.
 
* First, clonefork the "official version" from GitHub to your own Github repository (happens only once). Here's the offical code base: https://github.com/openmrs/openmrs-core
* Set up your remotes so you get new code and push your original code to the right places (setting an "origin" remote for your fork and an "upstream" remote for the official code base)
* Pull new changes from upstreamthe (the "officialupstream" version of OpenMRS on GitHub, linked above)remote
* Make a new branch for the ticket you'd like to work on
* Make local changes on your machine to fix the bug/implement the feature
* Push to origin (your "fork" of OpenMRS on your GitHub account). e.g. here is [https://github.com/hypotext/openmrs-core- mine]
* Push to your "origin" remote
* When done, make a pull request on upstream, which will be reviewed. [https://github.com/openmrs/openmrs-core/pulls Current OpenMRS pull requests]
* Repeat
Anonymous user