-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having trouble getting started.. #2
Comments
Hi Sean The Viewer(s) run on Meteor, so you'll need to install that if you don't have it already. You'll probably also need node.js and NPM to run the CORS proxy that's also included. You can run one of the viewers (either OHIFViewer or LesionTracker) by changing to their directory and running
You'll also need to change to the etc directory and run:
You should run this after the Docker Orthanc instance is started. The script just checks the IP for Docker and sets up a proxy that will direct localhost traffic on 8042 to the docker IP, while adding "Access-Control-Allow-Origin" to the header. After all that is working you can just point your browser to http://localhost:3000/ Oh, and there is some rudimentary documentation here: See: http://ohif.github.io/Viewers/Usage/index.html Let me know if you have any problems. |
Thanks - i’ve gotten much further but I’m still having an issue. I can see the viewer and select the one study on the system - but when I click on it I get a 401: If I enter the URL into the browser and enter the username/password that is in the config file I can download the DCM just fine. This is what I have in the config file: Could there be a conflict between the domain of the URL I’m using to launch the viewer (localhost:3000) and the 192* address of the docker instance? Thanks Sean On Jan 4, 2016, at 8:38 AM, Erik Ziegler <notifications@github.commailto:notifications@github.com> wrote: Meteor The information in this e-mail is intended only for the person to whom it is |
The localhostOrthanc.json configuration file should not be using the IP from docker, it should just have http://localhost:8042/whatever. That is what the node CORS proxy is for. You run it, and all connections that attempt to reach http://localhost:8042 are sent to the docker IP (http://192.168.99.100) for you. They are returned with the proper headers so you don't get errors in the browser from having different domains (since everything is using localhost). |
Ah :-) This makes complete sense - I was wondering where the magic remapping was happening. I was looking at the instructions on https://github.com/OHIF/Viewers and I didn’t see the page http://ohif.github.io/Viewers/Usage/index.html which shows how the CORS proxy is set up. It’s working now. I had to make one change to a port number in localHostOrthanc.json:
Thanks! Sean On Jan 4, 2016, at 11:09 AM, Erik Ziegler <notifications@github.commailto:notifications@github.com> wrote: The localhostOrthanc.json configuration file should not be using the IP from docker, it should just have http://localhost:8042/whatever. That is what the node CORS proxy is for. You run it, and all connections that attempt to reach http://localhost:8042 are sent to the docker IP (http://192.168.99.100http://192.168.99.100/) for you. They are returned with the proper headers so you don't get errors in the browser from having different domains (since everything is using localhost). — The information in this e-mail is intended only for the person to whom it is |
Ah yep that's my fault. 8043 there is for when Orthanc is running outside of Docker. I'll fix that. |
I am also having trouble pulling images into OHIF viewer from the proxy server. When I trace the setup scripts it seems like all of the specifications for the OHIF viewer to talk to the server is in the localhostOrthanc.json file. Do we need to change the wadoUriRoot port from 8043? It seems like this is the last piece of setup I need to have everything running properly -- please let me know if you have suggestions! |
The proxy is now internal, so I'm going to close this. Reopen it if you run into issues. |
Vtkjs view segmentations james
Wjrl idc deployment
Hi -
I can install the docker container and export DICOM images to it -but it's not clear to me how to install the viewer so that I can see them. Do I need to copy the viewer files to the docker instance? Or do these somehow run on my local machine which uses web services on doctor instance?
I'm running this on a Mac but I could run on a different OS if that made things simpler.
Thanks
Sean
The text was updated successfully, but these errors were encountered: