From 1319ef8144d5b04402e98905f75d15ea56ad3bcd Mon Sep 17 00:00:00 2001 From: Quintonn Rothmann Date: Thu, 4 Jul 2019 15:39:59 +0300 Subject: [PATCH] Updated readme file to include option for running server with Maven on different port --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0b55070..60bc4ae 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ Then, browse to the following link to use the server: [http://localhost:8080/hapi-fhir-jpaserver/](http://localhost:8080/hapi-fhir-jpaserver/) +If you need to run this server on a different port (using Maven), you can change the port in the run command as follows: +``` +mvn -Djetty.port=8888 jetty:run +``` +And replacing 8888 with the port of your choice. + # Configuration Much of this HAPI starter project can be configured using the properties file in *src/main/resources/hapi.properties*. By default, this starter project is configured to use Derby as the database.