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
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,23 @@
2
2
3
3
The Web DICOM Upload Client is part of the [RPB Infrastructure](https://github.com/ddRPB/rpb#radiotherapy-clinical-research-it-infrastructure). It facilitates the upload of DICOM data via RESTful web services, provided by the [RPB portal](https://github.com/ddRPB/rpb/tree/master/radplanbio-portal/src/main/java/de/dktk/dd/rpb/api/v1). The documentation from user perspective can be found [here](https://rpb-doc.readthedocs.io/en/latest/pacs/pacs.html).
4
4
5
-
## Getting Started
5
+
## Getting Started for Testing
6
6
7
-
### Prerequisits
7
+
The Uploader needs corresponding web services. If you just want to try it out, there is a [rpb-uploader-basic-webservices](https://github.com/ddRPB/rpb-uploader-basic-webservices) project that provides the services for a basic interaction without installing the real RPB Portal.
8
8
9
-
Prerequisits to work with the uploader are the web services, provided by the RPB portal or an alternative implementation with similar functionality.
9
+
Just install a [Tomcat 11](https://tomcat.apache.org/tomcat-11.0-doc/index.html). Drop the "ROOT.war" file from the latest [release](https://github.com/ddRPB/rpb-uploader-basic-webservices/releases) in "webapps" folder. Then create an additional "/uploader" in the "webapps" folder und unzip the "rpb-uploader-....zip" file from the latest [Uploader Release](https://github.com/ddRPB/rpb-uploader/releases).
10
+
11
+
Open [localhost:8080/uploader](http://localhost:8080/uploader) in your browser.
12
+
13
+
## Getting Started for Development
14
+
15
+
### Prerequisites
16
+
17
+
Prerequisites to work with the uploader are the web services, provided by the RPB portal or an alternative implementation with similar functionality.
18
+
19
+
If you do not want to start with the complex portal, you can just use the [rpb-uploader-basic-webservices](https://github.com/ddRPB/rpb-uploader-basic-webservices) project described in the [Getting Started for Development](#getting-started-for-testing) section.
20
+
21
+
During the development, you need to deal with a [same origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Same-origin_policy) of the Browser. Node-JS usually runs on port 3000. The additional Tomcat on port 8080. All network calls from the Uploader to the Portal will be reject, based on that policy. There are some plugins than allow you to switch off this security feature for that specific use case.
10
22
11
23
### Clone Repository
12
24
@@ -44,6 +56,14 @@ In the current version, you need to adjust the parameters:
44
56
45
57
- /src/index.js - uploaderVersion: version of the uploader that is used in the UI and the De-identification Method Attribute (0012,0063)
46
58
59
+
#### Mail Service
60
+
61
+
- /src/index.js - mailServiceEnabled - enables the usage of the portal web service that sends mail notifications
62
+
63
+
#### Skip Upload Verification
64
+
65
+
- /src/index.js - skipUploadVerification - the Uploader verifies the upload at the end with a dedicated request and fails if the count of uploaded files does not match the files that the backend returns on that request. Here it is possible to define an array of SOPClassUids that will be ignored by this specific counting.
66
+
47
67
### Start the App
48
68
49
69
```
@@ -58,7 +78,7 @@ After the configuration step, you can create a specific release that will be sto
58
78
yarn build-webpack
59
79
```
60
80
61
-
The generated code can be found in the "dist" folder.
81
+
The generated code can be found in the "dist" folder. This can be directly dropped into a folder on the web server. Probably, you would drop it into an "uploader" folder on the existing Tomcat server of the Portal and avoid the same-origin-policy problem described in the [Prerequisites](#prerequisites) section.
0 commit comments