Skip to content

Commit abcb8a9

Browse files
author
Kevin Dougan
committed
Updated the README file with the new run instructions.
1 parent ffab043 commit abcb8a9

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,27 @@ public class YourInterceptor
189189

190190
## Running locally
191191

192-
The easiest way to run this server entirely depends on your environment requirements. At least, the following 4 ways are supported:
192+
The easiest way to run this server entirely depends on your environment requirements. The following ways are supported:
193193

194-
### Using jetty
194+
### Using Spring Boot
195195
```bash
196-
mvn -Pjetty jetty:run
196+
mvn spring-boot:run
197197
```
198198

199+
The Server will then be accessible at http://localhost:8080/fhir and the CapabilityStatement will be found at http://localhost:8080/fhir/metadata.
200+
201+
### Using jetty
202+
```bash
203+
mvn -Pjetty spring-boot:run
204+
```
199205

200206
If you need to run this server on a different port (using Maven), you can change the port in the run command as follows:
201207

202208
```bash
203-
mvn -Pjetty -Djetty.port=8888 jetty:run
209+
mvn -Pjetty -Dserver.port=8888 spring-boot:run
204210
```
205211

206-
Server will then be accessible at http://localhost:8888/ and eg. http://localhost:8888/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to eg.
212+
The Server will then be accessible at http://localhost:8888/ and eg. http://localhost:8888/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to the following:
207213

208214
```yaml
209215
tester:
@@ -219,7 +225,7 @@ Server will then be accessible at http://localhost:8888/ and eg. http://localhos
219225
```bash
220226
mvn clean spring-boot:run -Pboot
221227
```
222-
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to eg.
228+
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to the following:
223229

224230
```yaml
225231
tester:
@@ -235,7 +241,7 @@ Server will then be accessible at http://localhost:8080/ and eg. http://localhos
235241
```bash
236242
mvn clean package spring-boot:repackage -Pboot && java -jar target/ROOT.war
237243
```
238-
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to eg.
244+
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to the following:
239245

240246
```yaml
241247
tester:
@@ -250,7 +256,7 @@ Server will then be accessible at http://localhost:8080/ and eg. http://localhos
250256
```bash
251257
mvn clean package com.google.cloud.tools:jib-maven-plugin:dockerBuild -Dimage=distroless-hapi && docker run -p 8080:8080 distroless-hapi
252258
```
253-
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to eg.
259+
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to the following:
254260

255261
```yaml
256262
tester:
@@ -266,7 +272,7 @@ Server will then be accessible at http://localhost:8080/ and eg. http://localhos
266272
```bash
267273
./build-docker-image.sh && docker run -p 8080:8080 hapi-fhir/hapi-fhir-jpaserver-starter:latest
268274
```
269-
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to eg.
275+
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to the following:
270276

271277
```yaml
272278
tester:

0 commit comments

Comments
 (0)