...
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
...
- Demo server(admin/Admin123) – http://demo.openmrs.org/openmrs/login.htm
- Wiki – https://wiki.openmrs.org/display/docs/Homehttps://wiki.openmrs.org/display/docs/Getting+Started+as+a+Developer
- https://wiki.openmrs.org/display/docs/Step+by+Step+Installation+for+Developers
- OpenMRS SDK – https://wiki.openmrs.org/display/docs/OpenMRS+SDK
- Functional Overview can be found here.
...
mvn openmrs-sdk:run -DserverId=test