My experience with setting up openMRS

sudo systemctl start docker
mvn openmrs-sdk:setup
Next you’ll be prompted to select the port would you like your server to use? (default: ‘8080’):
If you want to enable remote debugging by default when running the server, 
specify the port number here (e.g. 1044). Leave blank to disable debugging.
(Do not do this on a production server) (default: 'no debugging'):
Which database would you like to use?:
1) MySQL 5.6 (requires pre-installed MySQL 5.6)
2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
3) Existing docker container (requires pre-installed Docker)
Which one do you choose? [1/2/3]:
Which JDK would you like to use to run this server?:
1) JAVA_HOME (currently: /usr/lib/jvm/java-11-openjdk-amd64)
2) Other...
Which one do you choose? [1/2]:
[INFO] Server configured successfully, path: /home/bawantha/openmrs/medium2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:59 min
[INFO] Finished at: 2020-11-04T12:14:57-05:00
[INFO] ------------------------------------------------------------------------
mvn openmrs-sdk:run -DserverId="your_server_name"
OpenMRS is ready for you at http://localhost:9000/openmrs/
Nov 04, 2020 12:14:56 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9000"]

Blogger | FullStack Developer 💻 | UI/UX | Undergraduate 🎓 |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store