...
- Java (1.6 or 1.7, but not 1.8)
- Maven
- Git
- MySQL
- bower
- an IDE
Downloads:
You will need to clone these github repositories:
- https://github.com/openmrs/openmrs-core
- https://github.com/openmrsdjazayeri/openmrs-distro-referenceapplicationebola-kerrytown
- https://github.com/openmrs/openmrs-module-ebolaexample
...
Code Block |
---|
git clone https://github.com/openmrsdjazayeri/openmrs-distro-ebola-referenceapplicationkerrytown.git cd openmrs-distro-ebola-referenceapplicationkerrytown mvn clean package -DskipTests cp package/target/distro/*.omod ~/.OpenMRS/modules rm ~/.OpenMRS/modules/referencedemodata*.omod |
Restart tomcatjetty.
Wait for several minutes while various OpenMRS modules create data.
...
Code Block |
---|
git clone https://github.com/openmrs/openmrs-module-ebolaexample.git
cd openmrs-module-ebolaexample
mvn clean install
cp omod/target/*.omod ~/.OpenMRS/modules |
Restart tomcatjetty.
When OpenMRS is available, you should see a login screen giving you the option of choosing from a few locations (including Triage and Inpatient Wards). currently they are "Assessment" and "Inpatient Wards", but you should not see "Outpatient Clinic").
A Few More Things
You need to use the system with a user account that has a provider attached to it. Either create yourself a new OpenMRS user, or use the admin one, and go to http://localhost:8080/openmrs/admin/provider/index.htm and do Add Provider.
After the installation is done, the command bellow can provide you a easy way to make changes in the local repository and get it running without recompiling the full module:
Code Block |
---|
mvn jetty:run -DuiFramework.development.ebolaexample=/path/to/your/openmrs-module-ebolaexample |