http://foss2serve.org/index.php?title=OpenMRS-VM&feed=atom&action=historyOpenMRS-VM - Revision history2024-03-29T11:25:19ZRevision history for this page on the wikiMediaWiki 1.18.1http://foss2serve.org/index.php?title=OpenMRS-VM&diff=8044&oldid=prevClif.kussmaul at 11:00, 28 January 20172017-01-28T11:00:24Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:00, 28 January 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Using the VM built at POSSE 2015 ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Using the VM built at POSSE 2015 ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 23:</td>
<td colspan="2" class="diff-lineno">Line 24:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== How the VM built at POSSE 2015 was created ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== How the VM built at POSSE 2015 was created ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*OpenMRS Developer's Guide Manual Install instructions (starting point): http://en.flossmanuals.net/openmrs-developers-guide/get-set-up/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*OpenMRS Developer's Guide Manual Install instructions (starting point): http://en.flossmanuals.net/openmrs-developers-guide/get-set-up/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 37:</td>
<td colspan="2" class="diff-lineno">Line 39:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*In Virtual Box, ''File -> Export Appliance...''  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*In Virtual Box, ''File -> Export Appliance...''  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:OpenMRS]]</ins></div></td></tr>
</table>Clif.kussmaulhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4861&oldid=prevEmily.lovell: /* How the VM built at POSSE 2015 was created */2015-09-12T18:08:46Z<p><span class="autocomment">How the VM built at POSSE 2015 was created</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:08, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 26:</td>
<td colspan="2" class="diff-lineno">Line 26:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Steps followed (within cs50 VM):</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Steps followed (within cs50 VM):</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**to prevent our terminal commands from getting logged/sent back to Harvard, in terminal enter: no cs50</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**to prevent our terminal commands from getting logged/sent back to Harvard, in terminal enter: <ins class="diffchange diffchange-inline">''</ins>no cs50<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**installed maven using apt-get: sudo apt-get install maven</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**installed maven using apt-get: <ins class="diffchange diffchange-inline">''</ins>sudo apt-get install maven<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**updated JDK to 1.8 following these instructions: http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**updated JDK to 1.8 following these instructions: http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***sudo add-apt-repository ppa:webupd8team/java</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***<ins class="diffchange diffchange-inline">''</ins>sudo add-apt-repository ppa:webupd8team/java<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***sudo apt-get update</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***<ins class="diffchange diffchange-inline">''</ins>sudo apt-get update<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***sudo apt-get install oracle-java8-installer</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***<ins class="diffchange diffchange-inline">''</ins>sudo apt-get install oracle-java8-installer<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***verify that version has been updated to 1.8 with java -version</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***verify that version has been updated to 1.8 with <ins class="diffchange diffchange-inline">''</ins>java -version<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**grab the sourcecode for OpenMRS from github; in a terminal, type: git clone https://github.com/openmrs/openmrs-core.git</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**grab the sourcecode for OpenMRS from github; in a terminal, type: <ins class="diffchange diffchange-inline">''</ins>git clone https://github.com/openmrs/openmrs-core.git<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**mvn clean install (the next specified instruction to enter in terminal) was hitting an error at openmrs-web testing, so isntead we ran mvn clean install -DskipTests=true (recommended from: https://talk.openmrs.org/t/openmrs-api-failure-with-maven/2847)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**<ins class="diffchange diffchange-inline">''</ins>mvn clean install<ins class="diffchange diffchange-inline">'' </ins>(the next specified instruction to enter in terminal) was hitting an error at openmrs-web testing, so isntead we ran <ins class="diffchange diffchange-inline">''</ins>mvn clean install -DskipTests=true<ins class="diffchange diffchange-inline">'' </ins>(recommended from: https://talk.openmrs.org/t/openmrs-api-failure-with-maven/2847)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Export Appliance...  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*In Virtual Box, <ins class="diffchange diffchange-inline">''</ins>File -> Export Appliance...<ins class="diffchange diffchange-inline">'' </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4860&oldid=prevEmily.lovell: /* Using the VM built at POSSE 2015 */2015-09-12T18:07:30Z<p><span class="autocomment">Using the VM built at POSSE 2015</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:07, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS-on-Harvard-CS50.ova</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*In Virtual Box, <ins class="diffchange diffchange-inline">''</ins>File -> Import Appliance...<ins class="diffchange diffchange-inline">'' </ins>and select <ins class="diffchange diffchange-inline">''</ins>OpenMRS-on-Harvard-CS50.ova<ins class="diffchange diffchange-inline">'' from wherever the file is on your physical machine</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**Click Import</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**Click <ins class="diffchange diffchange-inline">''</ins>Import<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*Select the newly imported virtual machine, then click File->Preferences (PC) or VirtualBox->Preferences (Mac), then Network, then Host-only Networks</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*Select the newly imported virtual machine, then click <ins class="diffchange diffchange-inline">''</ins>File->Preferences<ins class="diffchange diffchange-inline">'' </ins>(PC) or <ins class="diffchange diffchange-inline">''</ins>VirtualBox->Preferences<ins class="diffchange diffchange-inline">'' </ins>(Mac), then <ins class="diffchange diffchange-inline">''</ins>Network<ins class="diffchange diffchange-inline">''</ins>, then <ins class="diffchange diffchange-inline">''</ins>Host-only Networks<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**If you don't see a network adapter then +/add and accept the new adapter with default settings</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**If you don't see a network adapter then <ins class="diffchange diffchange-inline">''</ins>+<ins class="diffchange diffchange-inline">''</ins>/add and accept the new adapter with default settings</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**Then click Cancel/OK to accept settings</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**Then click <ins class="diffchange diffchange-inline">''</ins>Cancel<ins class="diffchange diffchange-inline">''</ins>/<ins class="diffchange diffchange-inline">''</ins>OK<ins class="diffchange diffchange-inline">'' </ins>to accept settings</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Note: on Windows you may already see a network adapter, it is advisable to do the following  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Note: on Windows you may already see a network adapter, it is advisable to do the following  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***Click the settings gear icon (settings for the selected VM), Network, Adapter 2, click drop-down menu next to Name:, and <del class="diffchange diffchange-inline">reselet "</del>VirtualBox Host-Only Ethernet Adapter<del class="diffchange diffchange-inline">" </del>(this may seem odd, but you are doing great!), <del class="diffchange diffchange-inline">Click </del>OK</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***Click the settings gear icon (settings for the selected VM), <ins class="diffchange diffchange-inline">''</ins>Network<ins class="diffchange diffchange-inline">''</ins>, <ins class="diffchange diffchange-inline">''</ins>Adapter 2<ins class="diffchange diffchange-inline">''</ins>, click drop-down menu next to <ins class="diffchange diffchange-inline">''</ins>Name:<ins class="diffchange diffchange-inline">''</ins>, and <ins class="diffchange diffchange-inline">reset ''</ins>VirtualBox Host-Only Ethernet Adapter<ins class="diffchange diffchange-inline">'' </ins>(this may seem odd, but you are doing great!), <ins class="diffchange diffchange-inline">click ''</ins>OK<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*Select the newly imported machine in the lefthand panel and click <del class="diffchange diffchange-inline">"</del>Start<del class="diffchange diffchange-inline">" </del>(green arrow)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*Select the newly imported machine in the lefthand panel and click <ins class="diffchange diffchange-inline">''</ins>Start<ins class="diffchange diffchange-inline">'' </ins>(green arrow)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Starting OpenMRS in the virtual machine</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Starting OpenMRS in the virtual machine</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Open a terminal in the VM and type:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Open a terminal in the VM and type:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***cd openmrs-core</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***<ins class="diffchange diffchange-inline">''</ins>cd openmrs-core<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***cd webapp</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***<ins class="diffchange diffchange-inline">''</ins>cd webapp<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>***mvn jetty:run</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>***<ins class="diffchange diffchange-inline">''</ins>mvn jetty:run<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**When you see the following in terminal window "[INFO] Starting scanner at interval of 10 seconds", then open a browser on the VM and go to: http://localhost:8080/openmrs . This starts OpenMRS</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**When you see the following in terminal window "[INFO] Starting scanner at interval of 10 seconds", then open a browser on the VM and go to: http://localhost:8080/openmrs . This starts OpenMRS</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*To setup OpenMRS (in browser), you will need the mysql root username is jharvard, root password for the cs50 machine, which is <del class="diffchange diffchange-inline">"</del>crimson<del class="diffchange diffchange-inline">"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*To setup OpenMRS (in browser), you will need the mysql root username is <ins class="diffchange diffchange-inline">''</ins>jharvard<ins class="diffchange diffchange-inline">''</ins>, root password for the cs50 machine, which is <ins class="diffchange diffchange-inline">''</ins>crimson<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*To stop the jetty server, type Ctrl+C in terminal where it is running</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*To stop the jetty server, type Ctrl+C in terminal where it is running</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4859&oldid=prevEmily.lovell: /* Using the VM built at POSSE 2015 */2015-09-12T18:03:09Z<p><span class="autocomment">Using the VM built at POSSE 2015</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:03, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS-on-Harvard-CS50.ova <del class="diffchange diffchange-inline">(download the file here: [[File:OpenMRS-on-Harvard-CS50.ova]])</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS-on-Harvard-CS50.ova</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Click Import</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Click Import</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4858&oldid=prevEmily.lovell: /* Using the VM built at POSSE 2015 */2015-09-12T17:52:08Z<p><span class="autocomment">Using the VM built at POSSE 2015</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:52, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS-on-Harvard-CS50.ova</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS-on-Harvard-CS50.ova <ins class="diffchange diffchange-inline">(download the file here: [[File:OpenMRS-on-Harvard-CS50.ova]])</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Click Import</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Click Import</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4857&oldid=prevEmily.lovell: /* Using the VM built at POSSE 2015 */2015-09-12T17:44:39Z<p><span class="autocomment">Using the VM built at POSSE 2015</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:44, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Download Virtual Box so that you can load the VM: https://www.virtualbox.org</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Accept all default settings</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS.ova</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*In Virtual Box, File -> Import Appliance... and select OpenMRS<ins class="diffchange diffchange-inline">-on-Harvard-CS50</ins>.ova</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Click Import</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Click Import</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**Accept all default settings</div></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4856&oldid=prevEmily.lovell: /* How the VM built at POSSE 2015 was created */2015-09-12T17:43:35Z<p><span class="autocomment">How the VM built at POSSE 2015 was created</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:43, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== How the VM built at POSSE 2015 was created ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== How the VM built at POSSE 2015 was created ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*OpenMRS Developer's Guide Manual Install instructions (starting point):  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*OpenMRS Developer's Guide Manual Install instructions (starting point): http://en.flossmanuals.net/openmrs-developers-guide/get-set-up/</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>http://en.flossmanuals.net/openmrs-developers-guide/get-set-up/</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Steps followed (within cs50 VM):</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Steps followed (within cs50 VM):</div></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4855&oldid=prevEmily.lovell: /* Using the VM built at POSSE 2015 */2015-09-12T17:43:19Z<p><span class="autocomment">Using the VM built at POSSE 2015</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:43, 12 September 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*To setup OpenMRS (in browser), you will need the mysql root username is jharvard, root password for the cs50 machine, which is "crimson"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*To setup OpenMRS (in browser), you will need the mysql root username is jharvard, root password for the cs50 machine, which is "crimson"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*To stop the jetty server, type Ctrl+C in terminal where it is running</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*To stop the jetty server, type Ctrl+C in terminal where it is running</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">== How the VM built at POSSE 2015 was created ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">*OpenMRS Developer's Guide Manual Install instructions (starting point): </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">http://en.flossmanuals.net/openmrs-developers-guide/get-set-up/</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">*Documentation on cs50 image: https://manual.cs50.net/appliance/2015/</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">*Steps followed (within cs50 VM):</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">**to prevent our terminal commands from getting logged/sent back to Harvard, in terminal enter: no cs50</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">**installed maven using apt-get: sudo apt-get install maven</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">**updated JDK to 1.8 following these instructions: http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">***sudo add-apt-repository ppa:webupd8team/java</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">***sudo apt-get update</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">***sudo apt-get install oracle-java8-installer</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">***verify that version has been updated to 1.8 with java -version</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">**grab the sourcecode for OpenMRS from github; in a terminal, type: git clone https://github.com/openmrs/openmrs-core.git</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">**mvn clean install (the next specified instruction to enter in terminal) was hitting an error at openmrs-web testing, so isntead we ran mvn clean install -DskipTests=true (recommended from: https://talk.openmrs.org/t/openmrs-api-failure-with-maven/2847)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">*In Virtual Box, File -> Export Appliance... </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">**Accept all default settings</ins></div></td></tr>
</table>Emily.lovellhttp://foss2serve.org/index.php?title=OpenMRS-VM&diff=4854&oldid=prevEmily.lovell: Created page with "= Using a VM with OpenMRS Pre-installed= == Using the VM built at POSSE 2015 == * Download Virtual Box so that you can load the VM: https://www.virtualbox.org ** Accept all d..."2015-09-12T17:41:46Z<p>Created page with "= Using a VM with OpenMRS Pre-installed= == Using the VM built at POSSE 2015 == * Download Virtual Box so that you can load the VM: https://www.virtualbox.org ** Accept all d..."</p>
<p><b>New page</b></p><div>= Using a VM with OpenMRS Pre-installed=<br />
<br />
== Using the VM built at POSSE 2015 ==<br />
* Download Virtual Box so that you can load the VM: https://www.virtualbox.org<br />
** Accept all default settings<br />
*In Virtual Box, File -> Import Appliance... and select OpenMRS.ova<br />
**Click Import<br />
**Accept all default settings<br />
*Select the newly imported virtual machine, then click File->Preferences (PC) or VirtualBox->Preferences (Mac), then Network, then Host-only Networks<br />
**If you don't see a network adapter then +/add and accept the new adapter with default settings<br />
**Then click Cancel/OK to accept settings<br />
**Note: on Windows you may already see a network adapter, it is advisable to do the following <br />
***Click the settings gear icon (settings for the selected VM), Network, Adapter 2, click drop-down menu next to Name:, and reselet "VirtualBox Host-Only Ethernet Adapter" (this may seem odd, but you are doing great!), Click OK<br />
*Select the newly imported machine in the lefthand panel and click "Start" (green arrow)<br />
*Starting OpenMRS in the virtual machine<br />
**Open a terminal in the VM and type:<br />
***cd openmrs-core<br />
***cd webapp<br />
***mvn jetty:run<br />
**When you see the following in terminal window "[INFO] Starting scanner at interval of 10 seconds", then open a browser on the VM and go to: http://localhost:8080/openmrs . This starts OpenMRS<br />
*To setup OpenMRS (in browser), you will need the mysql root username is jharvard, root password for the cs50 machine, which is "crimson"<br />
*To stop the jetty server, type Ctrl+C in terminal where it is running</div>Emily.lovell