Refactor extensions interface (#344)

* Added container class for plugins that care for registration of submodules

* Added extensions manager that cares for adding modules to store

* Make extensions require less knowledge of internal extension management

* Reformatting

* Update generateStaticSite to use ohif-viewer, remove old OHIFViewer-react folder

* Add yarn.lock so Netlify knows to use Yarn

* Fix for copying static site folder

* Try to fix netlify build which is stuck uploading

* Try to fix static site deployment

* Try to fix static site deployment again

* Try to fix static site deployment one more time

* Extracted pdf plugin into external package

* Removed some unused dependencies

* Published pdf extension to npm registry

* Added external microscopy extension (work in progress)

* Extraction of microscopy plugin working now

* Added microscopy extension npm package to package.json

* Increase ohif-core version

* update yarn.lock

* Fix error in readme

* Fix authentication error in pdf plugin

* Remove readme, update packages, add redirect for netlify

* netlify test

* netlify test 2

* netlify test 2, forgot to add new redirects file

* Use public dicom server for demo

* Another netlify try

* Another netlify try 2

* Another netlify try 3

* Another netlify try 4
This commit is contained in:
Sandra authored and Erik Ziegler committed 2019-02-02 11:10:56 +00:00
1 parent af68db0c09
commit b93a677ef3
121 files changed
+14151 -35046

No files matched your search

+17 -9
View File
@@ -1,8 +1,8 @@
cd docs
npm -v
yarn -v
node -v
echo 'Installing Gitbook CLI'
npm install
yarn install
echo 'Running Gitbook installation'
./node_modules/gitbook-cli/bin/gitbook.js install
@@ -11,11 +11,19 @@ cd ..
# Build and copy the StandaloneViewer into the static directory
echo $DEPLOY_PRIME_URL
cd OHIFViewer-react
export ROOT_URL=$DEPLOY_PRIME_URL/viewer/
sed -i "s,http://localhost:5000/,${ROOT_URL},g" package.json
cd Packages-react/ohif-viewer
export ROOT_URL=$DEPLOY_PRIME_URL/viewer
cat package.json
npm install
npm run build
mkdir ../docs/_book/viewer/
cp -R build/* ../docs/_book/viewer/
yarn install
yarn build
cd example
yarn install
yarn run prepare
sed -i "s,http://localhost:5000,${ROOT_URL},g" index.html
sed -i 's,"routerBasename": "/","routerBasename": "/viewer",g' index.html
rm -rf node_modules
mkdir ../../../docs/_book/viewer/
cp -R * ../../../docs/_book/viewer/
cp ../../../_redirects ../../../docs/_book/_redirects