...
If you want to install openmrs the traditional way you can follow the link here. But we recommend using the OpenMRS SDK for the hackathon because it makes installing easier. Make sure you do this before the hackathon because it takes around half an hour on a good internet connection to download all the dependencies.
...
serverId is the server name under which the server would be installed.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
| |||||||
#Make sure you substitute your mysql root password into the command before you run it. mvn openmrs-sdk:setup -DserverId=openmrs -Dversion=2.3 -DdbDriver=mysql -DdbUri="jdbc:mysql://localhost:3306/openmrs?autoReconnect=true&sessionVariables=storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8" -DdbUser=root -DdbPassword=<YOUR_ROOT_PASSWORD> |
...
Code Block | ||
---|---|---|
| ||
Caused by: java.sql.SQLException: Access denied for user 'test'@'localhost' (using password: YES) |
...
Check out the the openmrs application at http://localhost:8080/openmrs
...
Congrats you are done with the installation. The username and password to login to OpenMRS would be admin/Admin123. You should be able to see the OpenMRS home page which would look like the following.
Make sure you have all you need ahead of your first hackathon by reviewing this quick Checklist for Hackathon
Whats NEXT
Find a story/ticket to work on here. Pair with someone if possible.
...
OpenMRS SDK has much more features that what is listed here. Refer to the guide OpenMRS SDK
Optional
- Play around with the openmrs demo server (admin/Admin123) .
- Quick functional overview of OpenMRS is available here. (Also includes a QA site to play around with OpenMRS).
- If you would like to get quick technical overview of OpenMRS architecture take a look here.
- Join the email group Bahmni-Hackathon-Dallas@googlegroups.com if you are interested in getting email updates about the hackathon.
...
- Demo server(admin/Admin123) – http://demo.openmrs.org/openmrs/login.htm
- Wiki – https://wikiopenmrs.openmrsatlassian.orgnet/wiki/display/docs/Homehttps://wiki.openmrs.org/display/docs/Getting+Started+as+a+
- Getting started as a developer - Get Started as a Developer
- https://wikiopenmrs.openmrsatlassian.orgnet/wiki/display/docs/Step+by+Step+Installation+for+Developers
- OpenMRS SDK – https://wikiopenmrs.openmrsatlassian.orgnet/wiki/display/docs/OpenMRS+SDK
- Functional Overview can be found here.
Troubleshooting Tips
Forgot your mac MYSQL root password - Follow the instructions in the link here to reset it.
...
mvn openmrs-sdk:run -DserverId=test