You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,25 +191,30 @@ public class YourInterceptor
191
191
192
192
The easiest way to run this server entirely depends on your environment requirements. The following ways are supported:
193
193
194
-
### Using Spring Boot
194
+
### Using jetty
195
195
```bash
196
-
mvn spring-boot:run
196
+
mvn -Pjetty spring-boot:run
197
197
```
198
198
199
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
200
201
-
### Using jetty
201
+
### Using Spring Boot
202
202
```bash
203
-
mvn -Pjetty spring-boot:run
203
+
mvn spring-boot:run
204
204
```
205
205
206
-
If you need to run this server on a different port (using Maven), you can change the port in the run command as follows:
206
+
The Server will then be accessible at http://localhost:8080/fhir and the CapabilityStatement will be found at http://localhost:8080/fhir/metadata.
207
+
208
+
If you want to run this server on a different port, you can change the port in the `src/main/resources/application.yaml` file as follows:
207
209
208
-
```bash
209
-
mvn -Pjetty -Dserver.port=8888 spring-boot:run
210
+
```yaml
211
+
server:
212
+
# servlet:
213
+
# context-path: /example/path
214
+
port: 8888
210
215
```
211
216
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:
217
+
The Server will then be accessible at http://localhost:8888/fhir and the CapabilityStatement will be found at http://localhost:8888/fhir/metadata. Remember to adjust your overlay configuration in the `application.yaml` file to the following:
Copy file name to clipboardExpand all lines: src/main/resources/application.yaml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
-
#Uncomment the following lines to enable the fhir endpoint to be available at /example/path/fhir instead of /fhir
2
-
#server:
1
+
#Uncomment the "servlet" and "context-path" lines below to make the fhir endpoint available at /example/path/fhir instead of the default value of /fhir
2
+
server:
3
3
# servlet:
4
4
# context-path: /example/path
5
+
port: 8080
5
6
#Adds the option to go to eg. http://localhost:8080/actuator/health for seeing the running configuration
0 commit comments