Fix static site generation

This commit is contained in:
Erik Ziegler committed 2018-12-17 20:45:30 +01:00
1 parent 11d36a4e6b
commit f2ca5629c8
2 files changed
+8 -13

No files matched your search

+1
View File
@@ -9,3 +9,4 @@ npm-debug.log
Packages/active-entry/helloworld/ Packages/active-entry/helloworld/
LesionTracker/tests/nightwatch/reports/ LesionTracker/tests/nightwatch/reports/
docs/_book docs/_book
OHIFViewer-react/build/
+7 -13
View File
@@ -10,16 +10,10 @@ echo 'Running Gitbook installation'
cd .. cd ..
# Build and copy the StandaloneViewer into the static directory # Build and copy the StandaloneViewer into the static directory
cd StandaloneViewer # echo $DEPLOY_PRIME_URL
echo $DEPLOY_PRIME_URL # export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/
export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/ cd OHIFViewer-react
export METEOR_PACKAGE_DIRS="../../Packages" yarn install
mkdir buildDirectory yarn run build
cd StandaloneViewer mkdir ../docs/_book/viewer/
npm install -g meteor-build-client-fixed@0.4.3 cp -R build/* ../docs/_book/viewer/
meteor-build-client-fixed --version
curl https://install.meteor.com | /bin/sh
export PATH=$HOME/.meteor:$PATH
meteor npm install
meteor npm run details
meteor-build-client-fixed ../../docs/_book/viewer -u $ROOT_URL --path './'