OpenMRS resources: Difference between revisions

Content added Content deleted
imported>Chrishay7
imported>Chrishay7
Line 136: Line 136:


== Looking Through the Code Base ==
== Looking Through the Code Base ==
Once you can replicate the error, try to find and open the files related to the areas of interest (if provided). One way you can do this is by opening up the OpenMRS project's folder in Sublime and clicking on Find->Find in Files. Then simply search for whatever might seem relevant to the issue.
Once you can replicate the error, try to find and open the files related to the areas of interest (if provided). One way you can do this is by opening up the OpenMRS project's folder in Sublime and clicking on Find->Find in Files. Another is to use the built in search function on the openmrs repo in Github. Then simply search for whatever might seem relevant to the issue.


If you prefer to work from the command line (using emacs, vim, nano, for example), navigate to openmrs-core. Then you can search for code with '''grep -r "STRING HERE" .''' (don't forget the quotes and the period at the end -- it tells grep to look in the current directory.
If you prefer to work from the command line (using emacs, vim, nano, for example), navigate to openmrs-core. Then you can search for code with '''grep -r "STRING HERE" .''' (don't forget the quotes and the period at the end -- it tells grep to look in the current directory.