diff --git a/docs/standalone-viewer/usage.md b/docs/standalone-viewer/usage.md index 7caf439aa..4abbacda5 100644 --- a/docs/standalone-viewer/usage.md +++ b/docs/standalone-viewer/usage.md @@ -29,16 +29,16 @@ http://localhost:3000/testDICOMs It is possible to build this standalone viewer to run as a client-only bundle of HTML, JavaScript, and CSS. -1. First, install [meteor-build-client](https://github.com/frozeman/meteor-build-client). +1. First, install [meteor-build-client-fixed](https://github.com/brettg2/meteor-build-client/). - ```bash - sudo npm install -g meteor-build-client + ````bash + sudo npm install -g meteor-build-client-fixed ```` 2. Next, build the client bundle into an output folder ("myOutputFolder") with a base URL ("localhost:3000"). In production, this would be the URL where the Viewer is available. ```` - METEOR_PACKAGE_DIRS="../../Packages" meteor-build-client ../myOutputFolder -u localhost:3000 + METEOR_PACKAGE_DIRS="../../Packages" meteor-build-client-fixed ../myOutputFolder -u localhost:3000 ```` @@ -72,12 +72,6 @@ It is possible to build this standalone viewer to run as a client-only bundle of Open your web browser and navigate to http://localhost:3000/sampleJPEG.json or http://localhost:3000/sampleDICOM.json - Note: Right now there is a bug in meteor-build-client (https://github.com/frozeman/meteor-build-client/issues/34) which produces two CSS files instead of one. Since this second CSS file is not included properly, the page will appear broken. To fix this, all you have to do is open index.html and add the following at the top of the page. - - ````html - - ```` - ### Testing the Sample client-only build For the sake of simplicity we have also included a pre-built client-only version of the standalone viewer, which can be found in the SampleClientOnlyBuild folder.