Hi All,
I have successfully ran the
OHIFViewer under
Windows as it is explained in the
Wiki. Many thanks!!!!
Now I am trying to compile/build
OHIFViewer for the production environment. Since, its running under
METEOR, the
documentation suggest that in order to run the meteor application under production environment it needs to be
Build.
I followed Meteor suggested
guideline to build the application under Windows architecture. Steps are given below for reference. The build process ran successfully with no errors. However, as soon as I try to run the build application under
PORT 3030 I do get the
Tabbed Study Worklist screen but it would hang there and not bring any records from the Orthanc server. Instead, I get an error under DOS terminal
"Exception while invoking method 'StudyListSearch' undefined".
I performed quick search for StudyListSearch in the development environment and I do find studylistSearch.js file containing the method under the folder Isopacks but I do not find this method and few others in the production build.
It seems like many JavaScript files are missing in the final build directory. This is strange because I'm following Meter Build guidelines.
My steps to produce production build are as follows.
C:\Viewer-master\OHIFViewer\set METEOR_PACKAGE_DIRS=..\Packages
C:\Viewer-master\OHIFViewer\npm install --production
C:\Viewer-master\OHIFViewer\meteor build --directory C:\MyApp
Testing final build under sandbox to make sure all is working accordingly.
MongoDB is running as service.
Environment variable for METEOR_SETTINGS is set for orthancDICOMWeb.json
C:\MyApp\SET MONGO_URL=mongodb://localhost:27017/data
C:\MyApp\SET PORT=3030
C:\MyApp\node main.js
From what I have explained, kindly assist me in solving the issue to build the application correctly so that it can grab all the files.
Many thanks!
Rick