From fa4b768214c38041fd5873d9255a928b927ecdd8 Mon Sep 17 00:00:00 2001 From: Zaid Safadi Date: Wed, 16 Jan 2019 04:35:52 -0500 Subject: [PATCH] Update references to meteor-build-client-fixed to use the new version and supporting legacy browsers. (#334) --- .travis.yml | 6 +++--- docs/standalone-viewer/usage.md | 6 +++--- generateStaticSite.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9e994134..92edb2c6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,12 +76,12 @@ jobs: - cd StandaloneViewer - mkdir buildDirectory - cd StandaloneViewer - - npm install -g meteor-build-client-fixed@0.4.3 - - meteor-build-client-fixed --version + - npm install -g meteor-build-client-fixed2@0.4.3-b + - meteor-build-client-fixed2 --version - curl https://install.meteor.com | /bin/sh - meteor npm install script: - - meteor-build-client-fixed ~/standaloneViewerBuild -u $ROOT_URL + - meteor-build-client-fixed2 ~/standaloneViewerBuild -u $ROOT_URL --legacy after_success: - ls ~/standaloneViewerBuild - ls /home/travis diff --git a/docs/standalone-viewer/usage.md b/docs/standalone-viewer/usage.md index 3b487b06c..fbd99edb7 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-fixed](https://github.com/brettg2/meteor-build-client/). +1. First, install [meteor-build-client-fixed2](https://www.npmjs.com/package/meteor-build-client-fixed2). ````bash - sudo npm install -g meteor-build-client-fixed + sudo npm install -g meteor-build-client-fixed2 ```` 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-fixed ../myOutputFolder -u localhost:3000 + METEOR_PACKAGE_DIRS="../../Packages" meteor-build-client-fixed2 ../myOutputFolder -u localhost:3000 --legacy ```` 3. Test the bundled client-side package locally. diff --git a/generateStaticSite.sh b/generateStaticSite.sh index 0f2750971..a712b2899 100755 --- a/generateStaticSite.sh +++ b/generateStaticSite.sh @@ -16,9 +16,9 @@ export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/ export METEOR_PACKAGE_DIRS="../../Packages" mkdir buildDirectory cd StandaloneViewer -npm install -g meteor-build-client-fixed@0.4.3 -meteor-build-client-fixed --version +npm install -g meteor-build-client-fixed2@0.4.3-b +meteor-build-client-fixed2 --version curl https://install.meteor.com | /bin/sh export PATH=$HOME/.meteor:$PATH meteor npm install -meteor-build-client-fixed ../../docs/_book/viewer -u $ROOT_URL --path './' \ No newline at end of file +meteor-build-client-fixed2 ../../docs/_book/viewer -u $ROOT_URL --path './' --legacy \ No newline at end of file