Fix static site generation
This commit is contained in:
parent
11d36a4e6b
commit
f2ca5629c8
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,4 +8,5 @@ node_modules
|
|||||||
npm-debug.log
|
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/
|
||||||
@ -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 './'
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user