diff --git a/.gitignore b/.gitignore index c741fc55e..f5b9fdbc8 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ package-lock.json yarn-error.log .DS_Store -example/deps/ +# Common Example Data Directories sampledata/ +example/deps/ docker/dcm4che/dcm4che-arc diff --git a/dockerfile b/dockerfile index 66df84a25..6ec8252e6 100644 --- a/dockerfile +++ b/dockerfile @@ -18,6 +18,9 @@ RUN yarn run prepare WORKDIR /usr/src/app/example +RUN yarn install +RUN yarn run prepare + RUN sed -i "s,http://localhost:5000,http://localhost,g" index.html RUN sed -i 's,"routerBasename": "/","routerBasename": "/demo",g' index.html diff --git a/example/index.html b/example/index.html index 2b233f655..d8fdae795 100644 --- a/example/index.html +++ b/example/index.html @@ -103,6 +103,20 @@ // Try going to: // http://localhost:5000/viewer/1.3.6.1.4.1.14519.5.2.1.1706.4996.216859690032335293073513900362 props.servers = { + "dicomWeb": [ + { + "name": "DCM4CHEE", + "wadoUriRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/wado", + "qidoRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs", + "wadoRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs", + "qidoSupportsIncludeField": true, + "imageRendering": "wadors", + "thumbnailRendering": "wadors", + "requestOptions": { + "requestFromBrowser": true + } + } + ] // "dicomWeb": [ // { // "name": "Orthanc", @@ -120,21 +134,21 @@ // } // } // ] - "dicomWeb": [ - { - "name": "DCM4CHEE", - "wadoUriRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado", - "qidoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", - "wadoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", - "qidoSupportsIncludeField": true, - "imageRendering": "wadors", - "thumbnailRendering": "wadors", - "requestOptions": { - "requestFromBrowser": true, - "auth": "admin:admin" - } - } - ] + // "dicomWeb": [ + // { + // "name": "DCM4CHEE", + // "wadoUriRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado", + // "qidoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", + // "wadoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", + // "qidoSupportsIncludeField": true, + // "imageRendering": "wadors", + // "thumbnailRendering": "wadors", + // "requestOptions": { + // "requestFromBrowser": true, + // "auth": "admin:admin" + // } + // } + // ] };