OpenMRS resources: Difference between revisions

Content added Content deleted
imported>Hypotext
imported>Hypotext
Line 53: Line 53:


= Workflow =
= Workflow =

See [https://github.com/hypotext/OpenMRS-dev-setup/wiki/Setting-up-git,-plus-workflow-tutorial here].

git: version control system.
GitHub: visual interface for git. Lets you view repositories, pull requests (requests from other people to add original code), etc. online.


* First, clone the "official version" from GitHub (happens only once): https://github.com/openmrs/openmrs-core
* First, clone the "official version" from GitHub (happens only once): https://github.com/openmrs/openmrs-core
* Set up your remotes so you get new code and push your original code to the right places
* Pull new changes from upstream (the "official" version of OpenMRS on GitHub, linked above)
* Pull new changes from upstream (the "official" version of OpenMRS on GitHub, linked above)
* Make local changes on your machine
* Make local changes on your machine
Line 61: Line 67:
* Repeat
* Repeat
* Hopefully get your pull request merged into upstream! [https://github.com/openmrs/openmrs-core/pull/1160 Looks like this].
* Hopefully get your pull request merged into upstream! [https://github.com/openmrs/openmrs-core/pull/1160 Looks like this].

= Running the OpenMRS webapp =

... and seeing if your additions actually changed things. You'll likely want to do this many times during step 3 ("make local changes on your machine") above.

See [https://github.com/hypotext/OpenMRS-dev-setup/wiki/Running-the-OpenMRS-webapp-and-viewing-changes-in-code here].


= OpenMRS bug walkthrough =
= OpenMRS bug walkthrough =